Partager via


DtsTaskException constructeur (String)

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (dans Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    message As String _
)
'Utilisation
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
)

Paramètres

Notes

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