Partager via


Méthode SecurityTokenHandler.CanReadKeyIdentifierClause

Indicates if the current XML element is pointing to a KeyIdentifierClause that can be serialized by this instance.

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

Utilisation

    Dim instance As SecurityTokenHandler
Dim reader As XmlReader
Dim returnValue As Boolean

returnValue = instance.CanReadKeyIdentifierClause(reader)

Syntaxe

'Déclaration
Public Overridable Function CanReadKeyIdentifierClause ( _
    reader As XmlReader _
) As Boolean
public virtual bool CanReadKeyIdentifierClause (
    XmlReader reader
)
public:
virtual bool CanReadKeyIdentifierClause (
    XmlReader^ reader
)
public boolean CanReadKeyIdentifierClause (
    XmlReader reader
)
public function CanReadKeyIdentifierClause (
    reader : XmlReader
) : boolean

Paramètres

  • reader
    An XML reader positioned at the start element. The reader should not be advanced.

Valeur de retour

true if the ReadKeyIdentifierClause can read the element.

Cohérence de thread

Tous les membres statiques publics (partagés dans Visual Basic) de ce type sont thread-safe.Il n'est pas garanti que les membres d'instance soient thread-safe.

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 SecurityTokenHandler
Membres SecurityTokenHandler
Espace de noms Microsoft.IdentityModel.Tokens