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.