Name

ValidationEventHandler — System.Xml.Schema (system.xml.dll) serializable delegate 

Synopsis

public delegate void ValidationEventHandler( object sender, ValidationEventArgs e);

This declared delegate type is used to receive event notifications from the XmlSchema instance of XML Schema validation errors as they occur. A delegate of this type may be called for errors in reading an XML Schema document into an XmlSchema instance using XmlSchema’s Read( ) method as well as when calling XmlSchema’s Compile( ) method on an instance in memory. This delegate may also be called to handle validation of an XML document instance, when System.Xml.XmlValidatingReader’s System.Xml.XmlValidatingReader.ValidationEventHandler event is set to a method of type ValidationEventHandler.

Associated Events

System.Xml.XmlValidatingReader.ValidationEventHandler( )

Get .NET & XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.