WSTrustRequestSerializer.ReadXml 方法

定义

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

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

参数

reader
XmlReader

RST 的 XML 读取器。

context
WSTrustSerializationContext

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

返回

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

适用于