ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>.OnDeserializeUnrecognizedElement Method (String, XmlReader)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

protected override bool OnDeserializeUnrecognizedElement(
	string elementName,
	XmlReader reader
)

Parameters

elementName
Type: System.String

The name of the unknown sub-element.

reader
Type: System.Xml.XmlReader

The XmlReader being used for deserialization.

Return Value

Type: System.Boolean

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

.NET Framework
Available since 3.0
Return to top
Show: