共用方式為


WSTrustResponseSerializer.ReadXml 方法

定義

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

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

透過 RSTR 的 XML 讀取器。

context
WSTrustSerializationContext

WSTrustSerializationContext,包含目前序列化內容。

傳回

如果還原序列化成功,則為 RequestSecurityTokenResponse 物件。

適用於