DtsTaskException Constructor (COMException)

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

命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

语法

声明
Public Sub New ( _
    originalException As COMException _
)
public DtsTaskException (
    COMException originalException
)
public:
DtsTaskException (
    COMException^ originalException
)
public DtsTaskException (
    COMException originalException
)
public function DtsTaskException (
    originalException : COMException
)

参数

  • originalException
    The COM exception.

备注

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.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

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