SPQueryThrottledException 构造函数 (String, Int32)

初始化使用指定的错误消息和错误代码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
)

参数

  • errorCode
    类型:System.Int32

    一个整数,标识导致异常的原因。

另请参阅

引用

SPQueryThrottledException 类

SPQueryThrottledException 成员

SPQueryThrottledException 重载

Microsoft.SharePoint 命名空间