WSTrustFeb2005ResponseSerializer.ReadXmlElement(XmlReader, RequestSecurityTokenResponse, WSTrustSerializationContext) 方法
定义
重写在 RSTR 内读取指定子元素的基类。Override of the base class that Reads a specific child element inside the RSTR.
public:
override void ReadXmlElement(System::Xml::XmlReader ^ reader, System::IdentityModel::Protocols::WSTrust::RequestSecurityTokenResponse ^ rstr, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public override void ReadXmlElement (System.Xml.XmlReader reader, System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse rstr, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
override this.ReadXmlElement : System.Xml.XmlReader * System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> unit
Public Overrides Sub ReadXmlElement (reader As XmlReader, rstr As RequestSecurityTokenResponse, context As WSTrustSerializationContext)
参数
- reader
- XmlReader
将 XmlReader 对象置于 RSTR 内读取的一个元素的位置。An XmlReader object positioned at an element to read inside the RSTR.
从读取器填充的 RequestSecurityTokenResponse 元素。The RequestSecurityTokenResponse element that is being populated from the reader.
- context
- WSTrustSerializationContext
一个 WSTrustSerializationContext,包含当前的序列化上下文。A WSTrustSerializationContext that contains the current serialization context.
例外
reader 为 null。reader is null.
或-or-
rstr 为 null。rstr is null.
或-or-
context 为 null。context is null.
无法对当前参数执行反序列化。Unable to deserialize the current parameter.