共用方式為


WSTrustFeb2005ResponseSerializer.ReadXml 方法

定義

XmlReader 物件將 RSTR 還原序列化為 RequestSecurityTokenResponse 物件。

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

參數

reader
XmlReader

透過 RSTR 的 XML 讀取器。

context
WSTrustSerializationContext

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

傳回

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

例外狀況

readernull

-或-

contextnull

適用於