Freigeben über


WebserviceTaskException-Konstruktor (String)

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

Namespace:  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly:  Microsoft.SqlServer.WebServiceTask (in Microsoft.SqlServer.WebServiceTask.dll)

Syntax

'Declaration
Public Sub New ( _
    errorMessage As String _
)
'Usage
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
)

Parameter

  • errorMessage
    Typ: System.String
    The error message string to be used in the exception.

Hinweise

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

Siehe auch

Verweis

WebserviceTaskException Klasse

WebserviceTaskException-Überladung

Microsoft.SqlServer.Dts.Tasks.WebServiceTask-Namespace