共用方式為


SPClaimProviderException constructor (String, Exception)

初始化SPClaimProviderException類別的新執行個體。

Namespace:  Microsoft.SharePoint.Administration.Claims
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Sub New ( _
    message As String, _
    exception As Exception _
)
'用途
Dim message As String
Dim exception As Exception

Dim instance As New SPClaimProviderException(message, _
    exception)
public SPClaimProviderException(
    string message,
    Exception exception
)

參數

  • message
    Type: System.String

    錯誤訊息,說明此項例外的原因。

  • exception
    Type: System.Exception

    為目前的例外狀況的原因例外狀況。例外狀況參數不是 null 參考 (英文),如果目前的例外狀況會引發會處理在內部例外狀況 catch 區塊中。

請參閱

參照

SPClaimProviderException class

SPClaimProviderException members

SPClaimProviderException overload

Microsoft.SharePoint.Administration.Claims namespace