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)

参数

reader
XmlReader

定位当前元素的 XmlReader 对象。The XmlReader object positioned on the current element.

context
WSTrustSerializationContext

一个 WSTrustSerializationContext,包含当前的序列化上下文。A WSTrustSerializationContext that contains the current serialization context.

注解

默认实现引发 NotSupportedExceptionThe default implementation throws a NotSupportedException.

适用于