SamlNameIdentifierClaimResource, constructeur
Initializes a new instance of the SamlNameIdentifierClaimResource class using the specified name, the domain in which the name resides, and the format the name is in.

Espace de noms: System.IdentityModel.Tokens
Assembly : System.IdentityModel (dans system.identitymodel.dll)

Syntaxe

Visual Basic (Déclaration)
Public Sub New ( _
    name As String, _
    nameQualifier As String, _
    format As String _
)
Visual Basic (Utilisation)
Dim name As String
Dim nameQualifier As String
Dim format As String

Dim instance As New SamlNameIdentifierClaimResource(name, nameQualifier, format)
C#
public SamlNameIdentifierClaimResource (
    string name,
    string nameQualifier,
    string format
)
C++
public:
SamlNameIdentifierClaimResource (
    String^ name, 
    String^ nameQualifier, 
    String^ format
)
J#
public SamlNameIdentifierClaimResource (
    String name, 
    String nameQualifier, 
    String format
)
JScript
public function SamlNameIdentifierClaimResource (
    name : String, 
    nameQualifier : String, 
    format : String
)
XAML
Non applicable.

Paramètres

name

The subject name. Sets the Name property.

nameQualifier

The domain in which the name parameter resides. Sets the NameQualifier property.

format

A URI reference that represents the format that the name parameter is in. Sets the Format property.

Exceptions

Type d'exceptionCondition

ArgumentNullException

name is référence Null (Nothing en Visual Basic) or is Empty.

Notes

Although the format used to specify a name is extensible, the following table lists the formats defined by the SAML specification.

Format

Description

EmailNamespace

A URI that states the subject of a SAML assertion is specified as an email address.

UserNameNamespace

A URI that states the subject of a SAML assertion is specified using a Windows domain account.

Plateformes

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile pour Pocket PC, Windows Mobile pour Smartphone, Windows Server 2003, Windows XP Édition Media Center, Windows XP Professionnel Édition x64, Windows XP SP2, Windows XP Starter Edition

Microsoft .NET Framework 3.0 est pris en charge sur Windows Vista, Microsoft Windows XP SP2 et Windows Server 2003 SP1.

Informations de version

.NET Framework

Prise en charge dans : 3.0
Voir aussi

Mots clés :


Page view tracker