Compartir a través de


WebserviceTaskException Constructor (String)

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Ensamblado:  Microsoft.SqlServer.WebServiceTask (en Microsoft.SqlServer.WebServiceTask.dll)

Sintaxis

'Declaración
Public Sub New ( _
    errorMessage As String _
)
'Uso
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
)

Parámetros

Notas

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