แก้ไข

แชร์ผ่าน


WSTrust13ResponseSerializer.ReadXml Method

Definition

Deserializes the RSTR from an XmlReader object to a RequestSecurityTokenResponse object.

public:
 override System::IdentityModel::Protocols::WSTrust::RequestSecurityTokenResponse ^ ReadXml(System::Xml::XmlReader ^ reader, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public override System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse ReadXml (System.Xml.XmlReader reader, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
override this.ReadXml : System.Xml.XmlReader * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse
Public Overrides Function ReadXml (reader As XmlReader, context As WSTrustSerializationContext) As RequestSecurityTokenResponse

Parameters

reader
XmlReader

The XML reader over the RSTR.

context
WSTrustSerializationContext

A WSTrustSerializationContext that contains the current serialization context.

Returns

A RequestSecurityTokenResponse object if the deserialization was successful.

Exceptions

reader is null.

-or-

context is null.

Applies to