InformationCardSerializer.ReadCard (Método, (XmlReader, SecurityTokenResolver))
Reads an informationCard from a given XmlReader.
Espacio de nombres: Microsoft.IdentityModel.Protocols.WSIdentity
Ensamblado: Microsoft.IdentityModel (en microsoft.identitymodel.dll)
Uso
Dim instance As InformationCardSerializer Dim reader As XmlReader Dim signingTokenResolver As SecurityTokenResolver Dim returnValue As InformationCard returnValue = instance.ReadCard(reader, signingTokenResolver)
Sintaxis
'Declaración
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
Parámetros
- reader
XmlReader from which the InformationCard is read.
- signingTokenResolver
Token Resolver used to resolver the signing token.
Valor devuelto
An InformationCard instance.
Excepciones
Tipo de excepción | Condición |
---|---|
ArgumentNullException | The input parameter is null. |
InformationCardException | The XmlReader is not well formed. |
Seguridad para subprocesos
Los miembros estáticos públicos (Shared en Visual Basic) de este tipo son seguros para subprocesos.No se garantiza que los miembros de instancias sean seguros para subprocesos.
Plataformas
Plataformas de desarrollo
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
Vea también
Referencia
InformationCardSerializer (Clase)
InformationCardSerializer (Miembros)
Microsoft.IdentityModel.Protocols.WSIdentity (Espacio de nombres)