InvalidSmoOperationException 构造函数 (String, Exception)

Initializes a new instance of the InvalidSmoOperationException class with the specified message and inner exception.

命名空间:  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 InvalidSmoOperationException(message, _
    innerException)
public InvalidSmoOperationException(
    string message,
    Exception innerException
)
public:
InvalidSmoOperationException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> InvalidSmoOperationException
public function InvalidSmoOperationException(
    message : String, 
    innerException : Exception
)

参数

  • message
    类型:System.String
    A String value that specifies the message string for the Invalid SMO Operation exception.
  • innerException
    类型:System.Exception
    An Exception system object value that specifies the inner exception for the Invalid SMO Operation exception.

示例

处理 SMO 异常

请参阅

参考

InvalidSmoOperationException 类

InvalidSmoOperationException 重载

Microsoft.SqlServer.Management.Smo 命名空间