Deserialized an RSTR and returns a RequestSecurityTokenRespone object.
Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

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

returnValue = instance.ReadXml(reader, context)

Syntax

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

Parameters

reader

Reader over the RSTR.

context

Current Serialization context.

Return Value

RequestSecurityTokenResponse object if deserialization was successful.

Exceptions

Exception type Condition
ArgumentNullException

The given reader or context parameter is null

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