次の方法で共有


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

指定した操作が失敗した指定したオブジェクトと指定した内部例外を持つ FailedOperationException クラスの新しいインスタンスを初期化します。

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

構文

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

Dim instance As New FailedOperationException(operation, _
    failedObject, innerException)
public FailedOperationException(
    string operation,
    Object failedObject,
    Exception innerException
)
public:
FailedOperationException(
    String^ operation, 
    Object^ failedObject, 
    Exception^ innerException
)
new : 
        operation:string * 
        failedObject:Object * 
        innerException:Exception -> FailedOperationException
public function FailedOperationException(
    operation : String, 
    failedObject : Object, 
    innerException : Exception
)

パラメーター

  • failedObject
    型: System.Object
    操作が失敗したオブジェクトを示す Object システム オブジェクトの値です。
  • innerException
    型: System.Exception
    Failed Operation 例外の内部例外を示す Exception システム オブジェクトの値です。

使用例

SMO 例外の処理

関連項目

参照

FailedOperationException クラス

FailedOperationException オーバーロード

Microsoft.SqlServer.Management.Smo 名前空間