ValidationEventArgs Class

Definition

Returns detailed information related to the ValidationEventHandler.

public ref class ValidationEventArgs : EventArgs
public class ValidationEventArgs : EventArgs
type ValidationEventArgs = class
    inherit EventArgs
Public Class ValidationEventArgs
Inherits EventArgs
Inheritance
ValidationEventArgs

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)

Applies to