Freigeben über


DtsTaskException-Konstruktor (String)

Initializes a new instance of the DtsTaskException class.

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

Syntax

'Declaration
Public Sub New ( _
    message As String _
)
'Usage
Dim message As String 

Dim instance As New DtsTaskException(message)
public DtsTaskException(
    string message
)
public:
DtsTaskException(
    String^ message
)
new : 
        message:string -> DtsTaskException
public function DtsTaskException(
    message : String
)

Parameter

  • message
    Typ: System.String
    A string that contains the error condition.

Hinweise

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

Siehe auch

Verweis

DtsTaskException Klasse

DtsTaskException-Überladung

Microsoft.SqlServer.Dts.Runtime-Namespace