初始化使用指定的错误消息和错误代码SPQueryThrottleException类的一个新实例。
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub New ( _
strMessage As String, _
errorCode As Integer _
)
用法
Dim strMessage As String
Dim errorCode As Integer
Dim instance As New SPQueryThrottledException(strMessage, _
errorCode)
public SPQueryThrottledException(
string strMessage,
int errorCode
)
参数
strMessage
类型:System.String描述错误的消息。
errorCode
类型:System.Int32一个整数,标识导致异常的原因。