Freigeben über


DtsTaskException Constructor (COMException)

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

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

Syntax

'Declaration
Public Sub New ( _
    originalException As COMException _
)
public DtsTaskException (
    COMException originalException
)
public:
DtsTaskException (
    COMException^ originalException
)
public DtsTaskException (
    COMException originalException
)
public function DtsTaskException (
    originalException : COMException
)

Parameter

  • originalException
    The COM exception.

Hinweise

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

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