次の方法で共有


DtsTaskException コンストラクター (String)

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

名前空間:  Microsoft.SqlServer.Dts.Runtime
アセンブリ:  Microsoft.SqlServer.ManagedDTS (Microsoft.SqlServer.ManagedDTS.dll)

構文

'宣言
Public Sub New ( _
    message As String _
)
'使用
Dim message As String 

Dim instance As New DtsTaskException(message)
public DtsTaskException(
    string message
)
public:
DtsTaskException(
    String^ message
)
new : 
        message:string -> DtsTaskException
public function DtsTaskException(
    message : String
)

パラメーター

  • message
    型: System.String
    エラー状況を表す文字列です。

説明

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

関連項目

参照

DtsTaskException クラス

DtsTaskException オーバーロード

Microsoft.SqlServer.Dts.Runtime 名前空間