WSTrustRequestSerializer.ReadXml Method (XmlReader, WSTrustSerializationContext)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

When overridden in a derived class, deserializes the RST from an XmlReader object to a RequestSecurityToken object.

Namespace:   System.IdentityModel.Protocols.WSTrust
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public abstract RequestSecurityToken ReadXml(
	XmlReader reader,
	WSTrustSerializationContext context
)

Parameters

reader
Type: System.Xml.XmlReader

The XML reader over the RST.

context
Type: System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext

A WSTrustSerializationContext that contains the current serialization context.

Return Value

Type: System.IdentityModel.Protocols.WSTrust.RequestSecurityToken

A RequestSecurityToken object if the deserialization was successful.

.NET Framework
Available since 4.5
Return to top
Show: