WebserviceTaskException 생성자 (String, Int32)
Initializes a new instance of the WebserviceTaskException class, intializing the error message and error code.
네임스페이스: Microsoft.SqlServer.Dts.Tasks.WebServiceTask
어셈블리: Microsoft.SqlServer.WebServiceTask(Microsoft.SqlServer.WebServiceTask.dll)
구문
‘선언
Public Sub New ( _
errorMessage As String, _
errorCode As Integer _
)
‘사용 방법
Dim errorMessage As String
Dim errorCode As Integer
Dim instance As New WebserviceTaskException(errorMessage, _
errorCode)
public WebserviceTaskException(
string errorMessage,
int errorCode
)
public:
WebserviceTaskException(
String^ errorMessage,
int errorCode
)
new :
errorMessage:string *
errorCode:int -> WebserviceTaskException
public function WebserviceTaskException(
errorMessage : String,
errorCode : int
)
매개 변수
- errorMessage
유형: System. . :: . .String
The error message to use in the exception.
- errorCode
유형: System. . :: . .Int32
The error code to use in the exception.
주의
For this constructor, the class is initialized with the message string set to the errorMessage string that is passed in, and its error code is set to the errorCode parameter that is passed in.