Partager via


SharePointCommandException, constructeur (String, String, String, String)

Initialise une nouvelle instance de la classe SharePointCommandException avec un message d'erreur spécifié, le nom de type complet et l'arborescence des appels de procédure d'origine.

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

Syntaxe

'Déclaration
Public Sub New ( _
    message As String, _
    commandId As String, _
    fullTypeName As String, _
    originalStackTrace As String _
)
public SharePointCommandException(
    string message,
    string commandId,
    string fullTypeName,
    string originalStackTrace
)

Paramètres

  • message
    Type : String

    Message d'erreur indiquant la raison de l'exception.

  • commandId
    Type : String

    ID de la commande qui a levé l'exception.

  • fullTypeName
    Type : String

    Nom de type complet de la classe command qui a levé l'exception.

  • originalStackTrace
    Type : String

    Arborescence des appels de procédure d'origine de l'exception dans le processus vssphost4.exe.

Sécurité .NET Framework

Voir aussi

Référence

SharePointCommandException Classe

SharePointCommandException, surcharge

Microsoft.VisualStudio.SharePoint, espace de noms