Share via


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)

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