共用方式為


UnsupportedFeatureException 建構函式 (String, Exception)

Initializes a new instance of the UnknownTypeEnumeratorException class for the specified message and with the specified 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 UnsupportedFeatureException(message, _
    innerException)
public UnsupportedFeatureException(
    string message,
    Exception innerException
)
public:
UnsupportedFeatureException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> UnsupportedFeatureException
public function UnsupportedFeatureException(
    message : String, 
    innerException : Exception
)

參數

  • innerException
    型別:System.Exception
    An Exception system object value that specifies the inner exception for the Unsupported Feature exception.

範例

處理 SMO 例外狀況

請參閱

參考

UnsupportedFeatureException 類別

UnsupportedFeatureException 多載

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

處理 SMO 例外狀況