NoTargetSetEnabledException コンストラクター (String, Exception)

指定したメッセージ テキストと内部例外を持つ NoTargetSetEnabledException クラスの新しいインスタンスを初期化します。

名前空間:  Microsoft.SqlServer.Management.Dmf
アセンブリ:  Microsoft.SqlServer.Dmf (Microsoft.SqlServer.Dmf.dll)

構文

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

Dim instance As New NoTargetSetEnabledException(message, _
    innerException)
public NoTargetSetEnabledException(
    string message,
    Exception innerException
)
public:
NoTargetSetEnabledException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> NoTargetSetEnabledException
public function NoTargetSetEnabledException(
    message : String, 
    innerException : Exception
)

パラメーター

  • message
    型: System.String
    例外の原因になったイベントを表すメッセージ テキストを示す String 値です。
  • innerException
    型: System.Exception
    内部例外を含む Exception オブジェクトです。 1 つの例外が原因で別の例外が発生する状況で使用されます。

説明

この名前空間、クラス、またはメンバーは、Microsoft .NET Framework Version 2.0 でのみサポートされています。

使用例

SMO 例外の処理

関連項目

参照

NoTargetSetEnabledException クラス

NoTargetSetEnabledException オーバーロード

Microsoft.SqlServer.Management.Dmf 名前空間