WindowsClaimsIdentity 构造函数 (IntPtr, String, String)

Initializes an instance of WindowsClaimsIdentity.

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

用法

    Dim userToken As IntPtr
Dim authenticationType As String
Dim issuerName As String

Dim instance As New WindowsClaimsIdentity(userToken, authenticationType, issuerName)

语法

声明
Public Sub New ( _
    userToken As IntPtr, _
    authenticationType As String, _
    issuerName As String _
)
public WindowsClaimsIdentity (
    IntPtr userToken,
    string authenticationType,
    string issuerName
)
public:
WindowsClaimsIdentity (
    IntPtr userToken, 
    String^ authenticationType, 
    String^ issuerName
)
public WindowsClaimsIdentity (
    IntPtr userToken, 
    String authenticationType, 
    String issuerName
)
public function WindowsClaimsIdentity (
    userToken : IntPtr, 
    authenticationType : String, 
    issuerName : String
)

参数

  • userToken
    User token to use for this WindowsClaimsIdentity.
  • authenticationType
    Name of the authentication package used to authenticate this user.
  • issuerName
    The name of the issuer to use for the claims.

异常

异常类型 条件

备注

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

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

请参见

参考

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