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
)
参数
- operation
类型:System. . :: . .String
一个 String 对象,指定失败的操作。
- failedObject
类型:System. . :: . .Object
一个 Object 系统对象值,指定操作失败时的操作对象。
- innerException
类型:System. . :: . .Exception
一个 Exception 系统对象值,指定“操作失败”异常的内部异常。