DtsTaskException 생성자 (COMException)
This constructor is used when your custom task contains a COM exception.
네임스페이스: Microsoft.SqlServer.Dts.Runtime
어셈블리: Microsoft.SqlServer.ManagedDTS.dll의 Microsoft.SqlServer.ManagedDTS
구문
‘선언
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
)
매개 변수
- originalException
형식: System.Runtime.InteropServices. . :: . .COMException
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.