Occurs when a loaded or changed XML document cannot be validated with the document type definition (DTD) referenced in the document. The event handler receives an argument of type XmlErrorEventArgs containing data related to this event.

Syntax

public event XmlErrorEventHandler XmlInvalid;
Public Event XmlInvalid As XmlErrorEventHandler