WSTrustRequestSerializer.ReadCustomElement 方法

定义

在派生的类中重写时,读取自定义元素。

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 对象。

context
WSTrustSerializationContext

一个 WSTrustSerializationContext,包含当前的序列化上下文。

注解

默认实现引发 NotSupportedException

适用于