Partager via


DtsTaskException Constructor (COMException)

This constructor is used when your custom task contains a COM exception.

Espace de noms: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    originalException As COMException _
)
public DtsTaskException (
    COMException originalException
)
public:
DtsTaskException (
    COMException^ originalException
)
public DtsTaskException (
    COMException originalException
)
public function DtsTaskException (
    originalException : COMException
)

Paramètres

  • originalException
    The COM exception.

Notes

If your custom component has a COM exception that causes DtsTaskException to be thrown, wrap the exception with this constructor that takes the COM exception through the originalException parameter.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

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