SharePointCommandException Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
SharePointCommandException() |
Initialisiert eine neue Instanz der SharePointCommandException-Klasse. |
SharePointCommandException(String) |
Initialisiert eine neue Instanz der SharePointCommandException-Klasse mit einer angegebenen Fehlermeldung. |
SharePointCommandException(SerializationInfo, StreamingContext) |
Initialisiert eine neue Instanz der SharePointCommandException-Klasse mit serialisierten Daten. |
SharePointCommandException(String, Exception) |
Initialisiert eine neue Instanz der SharePointCommandException-Klasse mit einer angegebenen Fehlermeldung und einem Verweis auf die interne Ausnahme, die diese Ausnahme verursacht hat. |
SharePointCommandException(String, String, String, String) |
Initialisiert eine neue Instanz der SharePointCommandException-Klasse mit einer angegebenen Fehlermeldung, dem vollständigen Typnamen und der ursprünglichen Stapelüberwachung. |
SharePointCommandException(String, String, String, String, Exception) |
Initialisiert eine neue Instanz der SharePointCommandException-Klasse mit einer angegebenen Fehlermeldung, einem vollständigen Typnamen, der ursprünglichen Stapelüberwachung und einem Verweis auf die innere Ausnahme, die diese Ausnahme ausgelöst hat. |
SharePointCommandException()
Initialisiert eine neue Instanz der SharePointCommandException-Klasse.
public:
SharePointCommandException();
public SharePointCommandException ();
Public Sub New ()
Gilt für:
SharePointCommandException(String)
Initialisiert eine neue Instanz der SharePointCommandException-Klasse mit einer angegebenen Fehlermeldung.
public:
SharePointCommandException(System::String ^ message);
public SharePointCommandException (string message);
new Microsoft.VisualStudio.SharePoint.SharePointCommandException : string -> Microsoft.VisualStudio.SharePoint.SharePointCommandException
Public Sub New (message As String)
Parameter
- message
- String
Die Meldung mit einer Beschreibung des Fehlers.
Gilt für:
SharePointCommandException(SerializationInfo, StreamingContext)
Initialisiert eine neue Instanz der SharePointCommandException-Klasse mit serialisierten Daten.
protected:
SharePointCommandException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SharePointCommandException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.SharePoint.SharePointCommandException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.SharePoint.SharePointCommandException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameter
- info
- SerializationInfo
Das SerializationInfo-Objekt, das die serialisierten Objektdaten für die ausgelöste Ausnahme enthält.
- context
- StreamingContext
Das SerializationInfo-Objekt, das Kontextinformationen zur Quelle bzw. zum Ziel enthält.
Gilt für:
SharePointCommandException(String, Exception)
Initialisiert eine neue Instanz der SharePointCommandException-Klasse mit einer angegebenen Fehlermeldung und einem Verweis auf die interne Ausnahme, die diese Ausnahme verursacht hat.
public:
SharePointCommandException(System::String ^ message, Exception ^ innerException);
public SharePointCommandException (string message, Exception innerException);
new Microsoft.VisualStudio.SharePoint.SharePointCommandException : string * Exception -> Microsoft.VisualStudio.SharePoint.SharePointCommandException
Public Sub New (message As String, innerException As Exception)
Parameter
- message
- String
Die Fehlermeldung, in der die Ursache der Ausnahme erklärt wird.
- innerException
- Exception
Die Ausnahme, die die Ursache der aktuellen Ausnahme ist. Wenn der innerException
Parameter kein NULL-Verweis (Nothing
in Visual Basic) ist, wird die aktuelle Ausnahme in einem catch
Block ausgelöst, der die innere Ausnahme behandelt.
Gilt für:
SharePointCommandException(String, String, String, String)
Initialisiert eine neue Instanz der SharePointCommandException-Klasse mit einer angegebenen Fehlermeldung, dem vollständigen Typnamen und der ursprünglichen Stapelüberwachung.
public:
SharePointCommandException(System::String ^ message, System::String ^ commandId, System::String ^ fullTypeName, System::String ^ originalStackTrace);
public SharePointCommandException (string message, string commandId, string fullTypeName, string originalStackTrace);
new Microsoft.VisualStudio.SharePoint.SharePointCommandException : string * string * string * string -> Microsoft.VisualStudio.SharePoint.SharePointCommandException
Public Sub New (message As String, commandId As String, fullTypeName As String, originalStackTrace As String)
Parameter
- message
- String
Die Fehlermeldung, in der die Ursache der Ausnahme erklärt wird.
- commandId
- String
Die ID des Befehls, der die Ausnahme ausgelöst hat.
- fullTypeName
- String
Der vollständige Typname der Befehlsklasse, die die Ausnahme ausgelöst hat.
- originalStackTrace
- String
Die ursprüngliche Stapelüberwachung der Ausnahme im vssphost4.exe-Prozess.
Gilt für:
SharePointCommandException(String, String, String, String, Exception)
Initialisiert eine neue Instanz der SharePointCommandException-Klasse mit einer angegebenen Fehlermeldung, einem vollständigen Typnamen, der ursprünglichen Stapelüberwachung und einem Verweis auf die innere Ausnahme, die diese Ausnahme ausgelöst hat.
public:
SharePointCommandException(System::String ^ message, System::String ^ commandId, System::String ^ fullTypeName, System::String ^ originalStackTrace, Exception ^ innerException);
public SharePointCommandException (string message, string commandId, string fullTypeName, string originalStackTrace, Exception innerException);
new Microsoft.VisualStudio.SharePoint.SharePointCommandException : string * string * string * string * Exception -> Microsoft.VisualStudio.SharePoint.SharePointCommandException
Public Sub New (message As String, commandId As String, fullTypeName As String, originalStackTrace As String, innerException As Exception)
Parameter
- message
- String
Die Fehlermeldung, in der die Ursache der Ausnahme erklärt wird.
- commandId
- String
Die ID des Befehls, der die Ausnahme ausgelöst hat.
- fullTypeName
- String
Der vollständige Typname der Befehlsklasse, die die Ausnahme ausgelöst hat.
- originalStackTrace
- String
Die ursprüngliche Stapelüberwachung der Ausnahme im vssphost4.exe-Prozess.
- innerException
- Exception
Die Ausnahme, die die Ursache der aktuellen Ausnahme ist. Wenn der innerException
Parameter kein NULL-Verweis (Nothing
in Visual Basic) ist, wird die aktuelle Ausnahme in einem catch
Block ausgelöst, der die innere Ausnahme behandelt.