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.