Méthode WSTrustResponseSerializer.ReadXml
When overriden in the derived class deserializes the RSTR from the XmlReader to a RequestSecurityTokenResponse object.
Espace de noms: Microsoft.IdentityModel.Protocols.WSTrust
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)
Utilisation
Dim instance As WSTrustResponseSerializer Dim reader As XmlReader Dim context As WSTrustSerializationContext Dim returnValue As RequestSecurityTokenResponse returnValue = instance.ReadXml(reader, context)
Syntaxe
'Déclaration
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
Paramètres
- reader
XML reader over the RSTR
- context
Current Serialization context.
Valeur de retour
RequestSecurityTokenResponse object if teh deserialization was successful
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 WSTrustResponseSerializer
Membres WSTrustResponseSerializer
Espace de noms Microsoft.IdentityModel.Protocols.WSTrust