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.StringThe message that describes the error.
errorCode
Type: System.Int32An integer that identifies the cause of the exception.
See Also
Reference
SPQueryThrottledException Class
SPQueryThrottledException Members