Partager via


Méthode InformationCardSerializer.ReadCard (XmlReader, SecurityTokenResolver)

Reads an informationCard from a given XmlReader.

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

Utilisation

    Dim instance As InformationCardSerializer
Dim reader As XmlReader
Dim signingTokenResolver As SecurityTokenResolver
Dim returnValue As InformationCard

returnValue = instance.ReadCard(reader, signingTokenResolver)

Syntaxe

'Déclaration
Public Function ReadCard ( _
    reader As XmlReader, _
    signingTokenResolver As SecurityTokenResolver _
) As InformationCard
public InformationCard ReadCard (
    XmlReader reader,
    SecurityTokenResolver signingTokenResolver
)
public:
InformationCard^ ReadCard (
    XmlReader^ reader, 
    SecurityTokenResolver^ signingTokenResolver
)
public InformationCard ReadCard (
    XmlReader reader, 
    SecurityTokenResolver signingTokenResolver
)
public function ReadCard (
    reader : XmlReader, 
    signingTokenResolver : SecurityTokenResolver
) : InformationCard

Paramètres

  • reader
    XmlReader from which the InformationCard is read.
  • signingTokenResolver
    Token Resolver used to resolver the signing token.

Valeur de retour

An InformationCard instance.

Exceptions

Type d'exception Condition
ArgumentNullException

The input parameter is null.

InformationCardException

The XmlReader is not well formed.

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 InformationCardSerializer
Membres InformationCardSerializer
Espace de noms Microsoft.IdentityModel.Protocols.WSIdentity