Partager via


Constructeur Claim (String, String, String)

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

Espace de noms: Microsoft.IdentityModel.Claims
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)

Utilisation

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

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

Syntaxe

'Déclaration
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
)

Paramètres

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

Remarques

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.

Plateformes

Plateformes de développement

Windows Server 2003, Windows Vista

Target Platforms

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

Voir aussi

Référence

Classe Claim
Membres Claim
Espace de noms Microsoft.IdentityModel.Claims