Share via


WebserviceTaskException Constructor (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 _
)
public WebserviceTaskException (
    string errorMessage
)
public:
WebserviceTaskException (
    String^ errorMessage
)
public WebserviceTaskException (
    String errorMessage
)
public function WebserviceTaskException (
    errorMessage : String
)

Parameters

  • errorMessage
    The error message string to be used in the exception.

Remarks

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

WebserviceTaskException Class
WebserviceTaskException Members
Microsoft.SqlServer.Dts.Tasks.WebServiceTask Namespace