Name

ValidationEventArgs — System.Xml.Schema (system.xml.dll)   sealed class 

Synopsis

public sealed class ValidationEventArgs : EventArgs {
// Public Instance Properties
   public XmlSchemaException Exception{get; } 
   public string Message{get; } 
   public XmlSeverityType Severity{get; } 
}

This type gives detailed information about an error reported to the ValidationEventHandler delegate. The Message property may include the line number at which the error occured, and the Severity property returns an XmlSeverityType enumeration instance indicating the severity of the validation event.

Hierarchy

System.ObjectSystem.EventArgsValidationEventArgs

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.