共用方式為


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
)

參數