WebserviceTaskException 생성자

정의

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

오버로드

WebserviceTaskException(String)

오류 메시지 문자열을 초기화하여 WebserviceTaskException 클래스의 새 인스턴스를 초기화합니다.

WebserviceTaskException(SerializationInfo, StreamingContext)

SerializationInfo 및 StreamingContext를 초기화하여 클래스의 WebserviceTaskException 새 인스턴스를 초기화합니다.

WebserviceTaskException(String, Int32)

오류 메시지 및 오류 코드를 초기화하여 WebserviceTaskException 클래스의 새 인스턴스를 초기화합니다.

WebserviceTaskException(String)

오류 메시지 문자열을 초기화하여 WebserviceTaskException 클래스의 새 인스턴스를 초기화합니다.

public:
 WebserviceTaskException(System::String ^ errorMessage);
public WebserviceTaskException (string errorMessage);
new Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException : string -> Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException
Public Sub New (errorMessage As String)

매개 변수

errorMessage
String

예외에 사용할 오류 메시지 문자열입니다.

설명

이 생성자의 경우 메시지 문자열이 매개 변수로 errorMessage 설정되고 오류 코드가 DEFAULT_CODE.

적용 대상

WebserviceTaskException(SerializationInfo, StreamingContext)

SerializationInfo 및 StreamingContext를 초기화하여 클래스의 WebserviceTaskException 새 인스턴스를 초기화합니다.

public:
 WebserviceTaskException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
public WebserviceTaskException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException
Public Sub New (info As SerializationInfo, context As StreamingContext)

매개 변수

info
SerializationInfo

발생하는 예외에 대한 직렬화된 개체 데이터를 보유하는 SerializationInfo입니다.

context
StreamingContext

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

적용 대상

WebserviceTaskException(String, Int32)

오류 메시지 및 오류 코드를 초기화하여 WebserviceTaskException 클래스의 새 인스턴스를 초기화합니다.

public:
 WebserviceTaskException(System::String ^ errorMessage, int errorCode);
public WebserviceTaskException (string errorMessage, int errorCode);
new Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException : string * int -> Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException
Public Sub New (errorMessage As String, errorCode As Integer)

매개 변수

errorMessage
String

예외에 사용할 오류 메시지입니다.

errorCode
Int32

예외에 사용할 오류 코드입니다.

설명

이 생성자의 경우 전달된 문자열로 설정된 메시지 문자열을 사용하여 errorMessage 클래스가 초기화되고 해당 오류 코드가 전달된 매개 변수로 errorCode 설정됩니다.

적용 대상