When overriden in the derived class deserializes the RSTR from the XmlReader to a RequestSecurityTokenResponse object.
Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As WSTrustResponseSerializer
Dim reader As XmlReader
Dim context As WSTrustSerializationContext
Dim returnValue As RequestSecurityTokenResponse

returnValue = instance.ReadXml(reader, context)

Syntax

Visual Basic
Public MustOverride Function ReadXml ( _
		reader As XmlReader, _
		context As WSTrustSerializationContext _
) As RequestSecurityTokenResponse
C#
public abstract RequestSecurityTokenResponse ReadXml (
		XmlReader reader,
		WSTrustSerializationContext context
)
C++
public:
virtual RequestSecurityTokenResponse^ ReadXml (
		XmlReader^ reader, 
		WSTrustSerializationContext^ context
) abstract
J#
public abstract RequestSecurityTokenResponse ReadXml (
		XmlReader reader, 
		WSTrustSerializationContext context
)
JScript
public abstract function ReadXml (
		reader : XmlReader, 
		context : WSTrustSerializationContext
) : RequestSecurityTokenResponse

Parameters

reader

XML reader over the RSTR

context

Current Serialization context.

Return Value

RequestSecurityTokenResponse object if teh deserialization was successful

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also