共用方式為


ResultTypeNotSupportedEnumeratorException 建構函式 (ResultType, Exception)

Initializes a new instance of the ResultTypeNotSupportedEnumeratorException class with the specified type and the inner exception parameter. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Sub New ( _
    type As ResultType, _
    innerException As Exception _
)
'用途
Dim type As ResultType
Dim innerException As Exception

Dim instance As New ResultTypeNotSupportedEnumeratorException(type, innerException)
public ResultTypeNotSupportedEnumeratorException(
    ResultType type,
    Exception innerException
)
public:
ResultTypeNotSupportedEnumeratorException(
    ResultType type, 
    Exception^ innerException
)
new : 
        type:ResultType * 
        innerException:Exception -> ResultTypeNotSupportedEnumeratorException
public function ResultTypeNotSupportedEnumeratorException(
    type : ResultType, 
    innerException : Exception
)

參數

  • innerException
    型別:System. . :: . .Exception
    An Exception object that specifies the inner exception for the Result Type Not Supported Enumerator Exception.