다음을 통해 공유


WebserviceTaskException 생성자 (String)

Initializes a new instance of the WebserviceTaskException class, initializing the error message string.

네임스페이스:  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
어셈블리:  Microsoft.SqlServer.WebServiceTask(Microsoft.SqlServer.WebServiceTask.dll)

구문

‘선언
Public Sub New ( _
    errorMessage As String _
)
‘사용 방법
Dim errorMessage As String

Dim instance As New WebserviceTaskException(errorMessage)
public WebserviceTaskException(
    string errorMessage
)
public:
WebserviceTaskException(
    String^ errorMessage
)
new : 
        errorMessage:string -> WebserviceTaskException
public function WebserviceTaskException(
    errorMessage : String
)

매개 변수

주의

For this constructor, the message string is set to the errorMessage parameter, and the error code set to DEFAULT_CODE.