Claim 构造函数 (String, String, String)

Creates a Claim with the specified type and value. The Claim has a local authority issuer and no subject.

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

用法

    Dim claimType As String
Dim value As String
Dim valueType As String

Dim instance As New Claim(claimType, value, valueType)

语法

声明
Public Sub New ( _
    claimType As String, _
    value As String, _
    valueType As String _
)
public Claim (
    string claimType,
    string value,
    string valueType
)
public:
Claim (
    String^ claimType, 
    String^ value, 
    String^ valueType
)
public Claim (
    String claimType, 
    String value, 
    String valueType
)
public function Claim (
    claimType : String, 
    value : String, 
    valueType : String
)

参数

  • claimType
     
  • value
    The Claim Value.
  • valueType
    The ClaimValueType of the Claim resource.

备注

P:Microsoft.IdentityModel.Claims.Claim.Issuer is set to F:Microsoft.IdentityModel.Claims.ClaimsIdentity.DefaultIssuer. P:Microsoft.IdentityModel.Claims.Claim.OriginalIssuer is set to F:Microsoft.IdentityModel.Claims.ClaimsIdentity.DefaultIssuer. P:Microsoft.IdentityModel.Claims.Claim.Subject is set to null.

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

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

请参见

参考

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