Edit

Share via


WSTrustRequestSerializer.ReadCustomElement Method

Definition

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)

Parameters

reader
XmlReader

The XmlReader object positioned on the current element.

context
WSTrustSerializationContext

A WSTrustSerializationContext that contains the current serialization context.

Remarks

The default implementation throws a NotSupportedException.

Applies to