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
)
Parameters
- originalException
The COM exception.
Remarks
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.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
DtsTaskException Class
DtsTaskException Members
Microsoft.SqlServer.Dts.Runtime Namespace