ClaimsIdentity 构造函数 (String)

Initializes an instance of T:Microsoft.IdentityModel.Claims.ClaimsIdentity with an empty T:Microsoft.IdentityModel.Claims.Claim collection and the specified authentication type.

命名空间: Microsoft.IdentityModel.Claims
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)

用法

    Dim authenticationType As String

Dim instance As New ClaimsIdentity(authenticationType)

语法

声明
Public Sub New ( _
    authenticationType As String _
)
public ClaimsIdentity (
    string authenticationType
)
public:
ClaimsIdentity (
    String^ authenticationType
)
public ClaimsIdentity (
    String authenticationType
)
public function ClaimsIdentity (
    authenticationType : String
)

参数

  • authenticationType
    The method used for authenticating the user.

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

请参见

参考

ClaimsIdentity 类
ClaimsIdentity 成员
Microsoft.IdentityModel.Claims 命名空间