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

指定した 2 つの型を持つ ExceptionAlreadyRegisteredException クラスの新しいインスタンスを初期化します。

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

構文

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

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

パラメーター

  • failedObjectName
    型: System.String
    操作に関連付けられているオブジェクトの名前を示す String 値です。
  • failedObjectType
    型: System.String
    操作に関連付けられているオブジェクトの型を示す String 値です。
  • innerException
    型: System.Exception
    例外に関連付けられている 2 番目の型を示す String 値です。

説明

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

使用例

SMO 例外の処理

関連項目

参照

FailedOperationException クラス

FailedOperationException オーバーロード

Microsoft.SqlServer.Management.Dmf 名前空間