다음을 통해 공유


SPQueryThrottledException Constructor (String, Int32)

Initializes a new instance of the SPQueryThrottleException class with a specified error message and an error code.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Sub New ( _
    strMessage As String, _
    errorCode As Integer _
)
'Usage
Dim strMessage As String
Dim errorCode As Integer

Dim instance As New SPQueryThrottledException(strMessage, _
    errorCode)
public SPQueryThrottledException(
    string strMessage,
    int errorCode
)

Parameters

  • strMessage
    Type: System.String

    The message that describes the error.

  • errorCode
    Type: System.Int32

    An integer that identifies the cause of the exception.

See Also

Reference

SPQueryThrottledException Class

SPQueryThrottledException Members

SPQueryThrottledException Overload

Microsoft.SharePoint Namespace