Compartir a través de


DtsTaskException Constructor (COMException)

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

Espacio de nombres: Microsoft.SqlServer.Dts.Runtime
Ensamblado: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Sintaxis

'Declaración
Public Sub New ( _
    originalException As COMException _
)
public DtsTaskException (
    COMException originalException
)
public:
DtsTaskException (
    COMException^ originalException
)
public DtsTaskException (
    COMException originalException
)
public function DtsTaskException (
    originalException : COMException
)

Parámetros

  • originalException
    The COM exception.

Notas

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

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