Costruttore DtsTaskException (COMException)

Initializes a new instance of the DtsTaskException class with specified COM exception.

Spazio dei nomi  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    originalException As COMException _
)
'Utilizzo
Dim originalException As COMException 

Dim instance As New DtsTaskException(originalException)
public DtsTaskException(
    COMException originalException
)
public:
DtsTaskException(
    COMException^ originalException
)
new : 
        originalException:COMException -> DtsTaskException
public function DtsTaskException(
    originalException : COMException
)

Parametri

Osservazioni

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.

Vedere anche

Riferimento

DtsTaskException Classe

Overload DtsTaskException

Spazio dei nomi Microsoft.SqlServer.Dts.Runtime