共用方式為


SPQueryThrottledException constructor (String, Int32)

初始化具有指定的錯誤訊息和錯誤程式碼的SPQueryThrottleException類別的新執行個體。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
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
    Type: System.Int32

    整數,可識別造成例外狀況。

請參閱

參照

SPQueryThrottledException class

SPQueryThrottledException members

SPQueryThrottledException overload

Microsoft.SharePoint namespace