SPClaimProviderException类的新实例进行初始化。
命名空间: Microsoft.SharePoint.Administration.Claims
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
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
类型:System.String解释异常原因的错误消息。
exception
类型:System.Exception导致当前异常的异常。如果异常参数不为 null 引用,处理内部异常的 catch 块中引发当前的异常。