Partilhar via


DtsTaskException Constructor (String)

This constructor is used when your custom task contains a string version of the exception.

Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
public DtsTaskException (
    string message
)
public:
DtsTaskException (
    String^ message
)
public DtsTaskException (
    String message
)
public function DtsTaskException (
    message : String
)

Parameters

  • message
    A string that contains the error condition.

Remarks

This constructor is used when your custom task throws an exception and you have a string description of the error condition.

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

DtsTaskException Class
DtsTaskException Members
Microsoft.SqlServer.Dts.Runtime Namespace