ClaimsIdentity 构造函数 (IIdentity)

Initializes an instance of ClaimsIdentity using the name and authentication type from the specified IIdentity instance.

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

用法

    Dim identity As IIdentity

Dim instance As New ClaimsIdentity(identity)

语法

声明
Public Sub New ( _
    identity As IIdentity _
)
public ClaimsIdentity (
    IIdentity identity
)
public:
ClaimsIdentity (
    IIdentity^ identity
)
public ClaimsIdentity (
    IIdentity identity
)
public function ClaimsIdentity (
    identity : IIdentity
)

参数

  • identity
    The IIdentity to draw the name and authentication type from.

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

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

请参见

参考

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