DtsTaskException コンストラクター

定義

DtsTaskException クラスの新しいインスタンスを初期化します。

オーバーロード

DtsTaskException(COMException)

指定された COM 例外を使用して、DtsTaskException クラスの新しいインスタンスを初期化します。

DtsTaskException(String)

DtsTaskException クラスの新しいインスタンスを初期化します。

DtsTaskException(COMException)

指定された COM 例外を使用して、DtsTaskException クラスの新しいインスタンスを初期化します。

public:
 DtsTaskException(System::Runtime::InteropServices::COMException ^ originalException);
public DtsTaskException (System.Runtime.InteropServices.COMException originalException);
new Microsoft.SqlServer.Dts.Runtime.DtsTaskException : System.Runtime.InteropServices.COMException -> Microsoft.SqlServer.Dts.Runtime.DtsTaskException
Public Sub New (originalException As COMException)

パラメーター

originalException
COMException

COM 例外です。

注釈

DtsTaskException がスローされる原因となる COM 例外がカスタム コンポーネントに含まれる場合、このコンストラクターで例外をラップします。このコンストラクターは、originalException パラメーターを介して COM 例外を受け取ります。

適用対象

DtsTaskException(String)

DtsTaskException クラスの新しいインスタンスを初期化します。

public:
 DtsTaskException(System::String ^ message);
public DtsTaskException (string message);
new Microsoft.SqlServer.Dts.Runtime.DtsTaskException : string -> Microsoft.SqlServer.Dts.Runtime.DtsTaskException
Public Sub New (message As String)

パラメーター

message
String

エラー状況を表す文字列です。

注釈

カスタム タスクが例外をスローし、エラー状況を表す文字列がある場合、このコンストラクターが使用されます。

適用対象