ValidationEventArgs Class  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns detailed information related to the ValidationEventHandler.
public ref class ValidationEventArgs : EventArgspublic ref class ValidationEventArgs sealed : EventArgspublic class ValidationEventArgs : EventArgspublic sealed class ValidationEventArgs : EventArgstype ValidationEventArgs = class
    inherit EventArgsPublic Class ValidationEventArgs
Inherits EventArgsPublic NotInheritable Class ValidationEventArgs
Inherits EventArgs- Inheritance
Examples
For an example, see the Add method for the XmlSchemaCollection class.
Properties
| Exception | Gets the XmlSchemaException associated with the validation event. | 
| Message | Gets the text description corresponding to the validation event. | 
| Severity | Gets the severity of the validation event. | 
Methods
| Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object) | 
| GetHashCode() | Serves as the default hash function.(Inherited from Object) | 
| GetType() | Gets the Type of the current instance.(Inherited from Object) | 
| MemberwiseClone() | Creates a shallow copy of the current Object.(Inherited from Object) | 
| ToString() | Returns a string that represents the current object.(Inherited from Object) |