System.Xml.Serialization.XmlSerializer.UnknownNode Event

Occurs when the System.Xml.Serialization.XmlSerializer encounters an XML node of unknown type during deserialization.

Syntax

public event XmlNodeEventHandler UnknownNode

Remarks

By default, after calling the XmlSerializer.Deserialize(System.IO.Stream) method, the System.Xml.Serialization.XmlSerializer ignores XML nodes of unknown types. However, you can use this event to handle such node types.

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0