共用方式為


WSTrustRequestSerializer.ReadXml 方法

定義

在衍生類別中覆寫時,將 XmlReader 物件中的 RST 還原序列化為 RequestSecurityToken 物件。

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 物件。

適用於