다음을 통해 공유


SharePointCommandException 생성자

정의

오버로드

SharePointCommandException()

SharePointCommandException 클래스의 새 인스턴스를 초기화합니다.

SharePointCommandException(String)

지정된 오류 메시지를 사용하여 SharePointCommandException 클래스의 새 인스턴스를 초기화합니다.

SharePointCommandException(SerializationInfo, StreamingContext)

serialize된 데이터를 사용하여 SharePointCommandException 클래스의 새 인스턴스를 초기화합니다.

SharePointCommandException(String, Exception)

지정된 오류 메시지와 예외의 원인인 내부 예외에 대한 참조를 사용하여 SharePointCommandException 클래스의 새 인스턴스를 초기화합니다.

SharePointCommandException(String, String, String, String)

지정된 오류 메시지, 전체 형식 이름 및 원래 스택 추적을 사용하여 SharePointCommandException 클래스의 새 인스턴스를 초기화합니다.

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

지정된 오류 메시지, 전체 형식 이름, 원래 스택 추적 및 예외의 원인이 되는 내부 예외에 대한 참조를 사용하여 SharePointCommandException 클래스의 새 인스턴스를 초기화합니다.

SharePointCommandException()

SharePointCommandException 클래스의 새 인스턴스를 초기화합니다.

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

적용 대상

SharePointCommandException(String)

지정된 오류 메시지를 사용하여 SharePointCommandException 클래스의 새 인스턴스를 초기화합니다.

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)

매개 변수

message
String

오류를 설명하는 메시지입니다.

적용 대상

SharePointCommandException(SerializationInfo, StreamingContext)

serialize된 데이터를 사용하여 SharePointCommandException 클래스의 새 인스턴스를 초기화합니다.

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)

매개 변수

info
SerializationInfo

throw되는 예외에 대해 serialize된 개체 데이터를 보유하는 SerializationInfo 개체입니다.

context
StreamingContext

원본 또는 대상에 대한 컨텍스트 정보를 포함하는 SerializationInfo 개체입니다.

적용 대상

SharePointCommandException(String, Exception)

지정된 오류 메시지와 예외의 원인인 내부 예외에 대한 참조를 사용하여 SharePointCommandException 클래스의 새 인스턴스를 초기화합니다.

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)

매개 변수

message
String

예외에 대한 이유를 설명하는 오류 메시지입니다.

innerException
Exception

현재 예외의 원인인 예외입니다. 매개 변수가 innerException null 참조(Nothing Visual Basic의 경우)가 아닌 경우 내부 예외를 catch 처리하는 블록에서 현재 예외가 발생합니다.

적용 대상

SharePointCommandException(String, String, String, String)

지정된 오류 메시지, 전체 형식 이름 및 원래 스택 추적을 사용하여 SharePointCommandException 클래스의 새 인스턴스를 초기화합니다.

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)

매개 변수

message
String

@FSHO2@예외 이유를 설명하는 오류 메시지입니다.

commandId
String

예외를 throw한 명령의 ID입니다.

fullTypeName
String

예외를 throw한 명령 클래스의 전체 형식 이름입니다.

originalStackTrace
String

vssphost4.exe 프로세스에 있는 예외의 원래 스택 추적입니다.

적용 대상

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

지정된 오류 메시지, 전체 형식 이름, 원래 스택 추적 및 예외의 원인이 되는 내부 예외에 대한 참조를 사용하여 SharePointCommandException 클래스의 새 인스턴스를 초기화합니다.

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)

매개 변수

message
String

@FSHO2@예외 이유를 설명하는 오류 메시지입니다.

commandId
String

예외를 throw한 명령의 ID입니다.

fullTypeName
String

예외를 throw한 명령 클래스의 전체 형식 이름입니다.

originalStackTrace
String

vssphost4.exe 프로세스에 있는 예외의 원래 스택 추적입니다.

innerException
Exception

현재 예외의 원인인 예외입니다. 매개 변수가 innerException null 참조(Nothing Visual Basic의 경우)가 아닌 경우 내부 예외를 catch 처리하는 블록에서 현재 예외가 발생합니다.

적용 대상