Redigeeri

Jagamisviis:


WSTrustRequestSerializer.ReadXml Method

Definition

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

public:
 abstract System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ ReadXml(System::Xml::XmlReader ^ reader, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public abstract System.IdentityModel.Protocols.WSTrust.RequestSecurityToken ReadXml (System.Xml.XmlReader reader, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
abstract member ReadXml : System.Xml.XmlReader * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> System.IdentityModel.Protocols.WSTrust.RequestSecurityToken
Public MustOverride Function ReadXml (reader As XmlReader, context As WSTrustSerializationContext) As RequestSecurityToken

Parameters

reader
XmlReader

The XML reader over the RST.

context
WSTrustSerializationContext

A WSTrustSerializationContext that contains the current serialization context.

Returns

A RequestSecurityToken object if the deserialization was successful.

Applies to