Udostępnij przez


SharePointCommandException Konstruktory

Definicja

Przeciążenia

SharePointCommandException()

Inicjuje nowe wystąpienie klasy SharePointCommandException.

SharePointCommandException(String)

Inicjuje SharePointCommandException nowe wystąpienie klasy z określonym komunikatem o błędzie.

SharePointCommandException(SerializationInfo, StreamingContext)

Inicjuje nowe wystąpienie klasy SharePointCommandException z zserializowanymi danymi.

SharePointCommandException(String, Exception)

Inicjuje nowe wystąpienie SharePointCommandException klasy z określonym komunikatem o błędzie i odwołaniem do wewnętrznego wyjątku, który spowodował wyjątek.

SharePointCommandException(String, String, String, String)

Inicjuje nowe wystąpienie SharePointCommandException klasy z określonym komunikatem o błędzie, pełną nazwą typu i oryginalnym śladem stosu.

SharePointCommandException(String, String, String, String, Exception)

Inicjuje nowe wystąpienie SharePointCommandException klasy z określonym komunikatem o błędzie, pełną nazwą typu, oryginalnym śladem stosu i odwołaniem do wewnętrznego wyjątku, który spowodował wyjątek.

SharePointCommandException()

Inicjuje nowe wystąpienie klasy SharePointCommandException.

public:
 SharePointCommandException();
public SharePointCommandException ();
Public Sub New ()

Dotyczy

SharePointCommandException(String)

Inicjuje SharePointCommandException nowe wystąpienie klasy z określonym komunikatem o błędzie.

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)

Parametry

message
String

Komunikat opisujący błąd.

Dotyczy

SharePointCommandException(SerializationInfo, StreamingContext)

Inicjuje nowe wystąpienie klasy SharePointCommandException z zserializowanymi danymi.

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)

Parametry

info
SerializationInfo

Obiekt SerializationInfo, który przechowuje serializowane dane obiektu dotyczące zgłaszanego wyjątku.

context
StreamingContext

Obiekt SerializationInfo zawierający kontekstowe informacje o źródle lub miejscu docelowym.

Dotyczy

SharePointCommandException(String, Exception)

Inicjuje nowe wystąpienie SharePointCommandException klasy z określonym komunikatem o błędzie i odwołaniem do wewnętrznego wyjątku, który spowodował wyjątek.

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)

Parametry

message
String

Komunikat o błędzie wyjaśniający przyczynę wyjątku.

innerException
Exception

Wyjątek będący przyczyną bieżącego wyjątku. innerException Jeśli parametr nie jest odwołaniem o wartości null (Nothing w Visual Basic), bieżący wyjątek jest zgłaszany w catch bloku, który obsługuje wyjątek wewnętrzny.

Dotyczy

SharePointCommandException(String, String, String, String)

Inicjuje nowe wystąpienie SharePointCommandException klasy z określonym komunikatem o błędzie, pełną nazwą typu i oryginalnym śladem stosu.

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)

Parametry

message
String

Komunikat o błędzie wyjaśniający przyczynę wyjątku.

commandId
String

Identyfikator polecenia, które zgłosiło wyjątek.

fullTypeName
String

Pełna nazwa typu klasy poleceń, która zgłosiła wyjątek.

originalStackTrace
String

Oryginalny ślad stosu wyjątku w procesie vssphost4.exe.

Dotyczy

SharePointCommandException(String, String, String, String, Exception)

Inicjuje nowe wystąpienie SharePointCommandException klasy z określonym komunikatem o błędzie, pełną nazwą typu, oryginalnym śladem stosu i odwołaniem do wewnętrznego wyjątku, który spowodował wyjątek.

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)

Parametry

message
String

Komunikat o błędzie wyjaśniający przyczynę wyjątku.

commandId
String

Identyfikator polecenia, które zgłosiło wyjątek.

fullTypeName
String

Pełna nazwa typu klasy poleceń, która zgłosiła wyjątek.

originalStackTrace
String

Oryginalny ślad stosu wyjątku w procesie vssphost4.exe.

innerException
Exception

Wyjątek będący przyczyną bieżącego wyjątku. innerException Jeśli parametr nie jest odwołaniem o wartości null (Nothing w Visual Basic), bieżący wyjątek jest zgłaszany w catch bloku, który obsługuje wyjątek wewnętrzny.

Dotyczy