FailedOperationException 构造函数 (String, Exception)
初始化具有指定消息和内部异常的 FailedOperationException 类的新实例。
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub New ( _
message As String, _
innerException As Exception _
)
用法
Dim message As String
Dim innerException As Exception
Dim instance As New FailedOperationException(message, _
innerException)
public FailedOperationException(
string message,
Exception innerException
)
public:
FailedOperationException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> FailedOperationException
public function FailedOperationException(
message : String,
innerException : Exception
)
参数
- message
类型:System. . :: . .String
一个 String 值,指定“操作失败”异常的消息字符串。
- innerException
类型:System. . :: . .Exception
一个 Exception 对象,指定“操作失败”异常的内部异常。