Specifies an event handler for receiving information about XML Schema definition language (XSD) schema validation errors.
Sets an event handler for receiving information about schema validation errors when the erload:System.Xml.Schema.XmlSchemaSet.Add or XmlSchemaSet.Compile methods of the System.Xml.Schema.XmlSchemaSet are called.
If an event handler is not defined, an System.Xml.Schema.XmlSchemaException is thrown on any validation errors where the System.Xml.Schema.XmlSeverityType is XmlSeverityType.Error. Exceptions are not thrown for validation errors with an System.Xml.Schema.XmlSeverityType of XmlSeverityType.Warning.