Share via


SPQueryThrottledException - Constructeur (String, Int32)

Initialise une nouvelle instance de la classe SPQueryThrottleException avec un message d'erreur spécifié et un code d'erreur.

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    strMessage As String, _
    errorCode As Integer _
)
'Utilisation
Dim strMessage As String
Dim errorCode As Integer

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

Paramètres

  • errorCode
    Type : System.Int32

    Entier qui identifie la cause de l'exception.

Voir aussi

Référence

SPQueryThrottledException classe

SPQueryThrottledException - Membres

SPQueryThrottledException - Surcharge

Microsoft.SharePoint - Espace de noms