WSTrustResponseSerializer.ReadXml 方法

定义

在派生类中重写时,对从 XmlReader 对象到 RequestSecurityTokenResponse 对象的 RSTR 进行反序列化。

public:
 abstract System::IdentityModel::Protocols::WSTrust::RequestSecurityTokenResponse ^ ReadXml(System::Xml::XmlReader ^ reader, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public abstract System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse 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.RequestSecurityTokenResponse
Public MustOverride Function ReadXml (reader As XmlReader, context As WSTrustSerializationContext) As RequestSecurityTokenResponse

参数

reader
XmlReader

XML 读取器上的 RSTR。

context
WSTrustSerializationContext

一个 WSTrustSerializationContext,包含当前的序列化上下文。

返回

如果序列化成功,则为 RequestSecurityTokenResponse 对象。

适用于