Compartilhar via


Construtor DtsTaskException (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 (em Microsoft.SqlServer.ManagedDTS.dll)

Sintaxe

'Declaração
Public Sub New ( _
    message As String _
)
'Uso
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
)

Parâmetros

Comentários

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