WSTrustResponseSerializer.ReadXml (Método)
When overriden in the derived class deserializes the RSTR from the XmlReader to a RequestSecurityTokenResponse object.
Espacio de nombres: Microsoft.IdentityModel.Protocols.WSTrust
Ensamblado: Microsoft.IdentityModel (en microsoft.identitymodel.dll)
Uso
Dim instance As WSTrustResponseSerializer Dim reader As XmlReader Dim context As WSTrustSerializationContext Dim returnValue As RequestSecurityTokenResponse returnValue = instance.ReadXml(reader, context)
Sintaxis
'Declaración
Public MustOverride Function ReadXml ( _
reader As XmlReader, _
context As WSTrustSerializationContext _
) As RequestSecurityTokenResponse
public abstract RequestSecurityTokenResponse ReadXml (
XmlReader reader,
WSTrustSerializationContext context
)
public:
virtual RequestSecurityTokenResponse^ ReadXml (
XmlReader^ reader,
WSTrustSerializationContext^ context
) abstract
public abstract RequestSecurityTokenResponse ReadXml (
XmlReader reader,
WSTrustSerializationContext context
)
public abstract function ReadXml (
reader : XmlReader,
context : WSTrustSerializationContext
) : RequestSecurityTokenResponse
Parámetros
- reader
XML reader over the RSTR
- context
Current Serialization context.
Valor devuelto
RequestSecurityTokenResponse object if teh deserialization was successful
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
WSTrustResponseSerializer (Clase)
WSTrustResponseSerializer (Miembros)
Microsoft.IdentityModel.Protocols.WSTrust (Espacio de nombres)