FailedOperationException 构造函数 (String, Object, Exception)
Initializes a new instance of the FailedOperationException class with the specified object on which the specified operation failed and that has the specified inner exception.
命名空间: 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
A String object that specifies the operation that failed.
- failedObject
类型:System. . :: . .Object
An Object system object value that specifies the object on which the operation failed.
- innerException
类型:System. . :: . .Exception
An Exception system object value that specifies the inner exception for the Failed Operation exception.