ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>.OnDeserializeUnrecognizedElement Method

Definition

Gets a value that indicates whether an unknown element is encountered during deserialization.

protected:
 override bool OnDeserializeUnrecognizedElement(System::String ^ elementName, System::Xml::XmlReader ^ reader);
protected override bool OnDeserializeUnrecognizedElement (string elementName, System.Xml.XmlReader reader);
override this.OnDeserializeUnrecognizedElement : string * System.Xml.XmlReader -> bool
Protected Overrides Function OnDeserializeUnrecognizedElement (elementName As String, reader As XmlReader) As Boolean

Parameters

elementName
String

The name of the unknown sub-element.

reader
XmlReader

The XmlReader being used for deserialization.

Returns

true when an unknown element is encountered while deserializing; otherwise, false.

Applies to