Partager via


Constructeur Claim (String, String, String, String, String)

Creates a Claim with the specified type, value, value type, issuer and original issuer.

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 issuer As String
Dim originalIssuer As String

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

Syntaxe

'Déclaration
Public Sub New ( _
    claimType As String, _
    value As String, _
    valueType As String, _
    issuer As String, _
    originalIssuer As String _
)
public Claim (
    string claimType,
    string value,
    string valueType,
    string issuer,
    string originalIssuer
)
public:
Claim (
    String^ claimType, 
    String^ value, 
    String^ valueType, 
    String^ issuer, 
    String^ originalIssuer
)
public Claim (
    String claimType, 
    String value, 
    String valueType, 
    String issuer, 
    String originalIssuer
)
public function Claim (
    claimType : String, 
    value : String, 
    valueType : String, 
    issuer : String, 
    originalIssuer : String
)

Paramètres

  • claimType
    The claim type.
  • value
    The claim value.
  • valueType
    The claim value type. If this parameter is null, then F:Microsoft.IdentityModel.Claims.ClaimValueTypes.String is used.
  • issuer
    The claim issuer. Can be null to specify no issuer.
  • originalIssuer
    The original issuer of this claim. Can be null to specify no original issuer.

Exceptions

Type d'exception Condition

Remarques

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