WSTrustRequestSerializer.ReadCustomElement(XmlReader, WSTrustSerializationContext) 方法
定义
在派生的类中重写时,读取自定义元素。When overridden in a derived class, reads a custom element.
protected:
virtual void ReadCustomElement(System::Xml::XmlReader ^ reader, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
protected virtual void ReadCustomElement (System.Xml.XmlReader reader, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
abstract member ReadCustomElement : System.Xml.XmlReader * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> unit
override this.ReadCustomElement : System.Xml.XmlReader * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> unit
Protected Overridable Sub ReadCustomElement (reader As XmlReader, context As WSTrustSerializationContext)
参数
- context
- WSTrustSerializationContext
一个 WSTrustSerializationContext,包含当前的序列化上下文。A WSTrustSerializationContext that contains the current serialization context.
注解
默认实现引发 NotSupportedException 。The default implementation throws a NotSupportedException.