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

Usage

Visual Basic
Dim instance As WSTrustRequestSerializer
Dim reader As XmlReader
Dim context As WSTrustSerializationContext
Dim returnValue As RequestSecurityToken

returnValue = instance.ReadXml(reader, context)

Syntax

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

Parameters

reader

XML reader over the RST

context

Current Serialization context.

Return Value

RequestSecurityToken object if the 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