Поделиться через


Конструктор DtsTaskException (COMException)

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

Пространство имен:  Microsoft.SqlServer.Dts.Runtime
Сборка:  Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)

Синтаксис

'Декларация
Public Sub New ( _
    originalException As COMException _
)
'Применение
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
)

Параметры

Замечания

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.

См. также

Справочник

DtsTaskException Класс

Перегрузка DtsTaskException

Пространство имен Microsoft.SqlServer.Dts.Runtime