Expand Minimize

ValidationEventHandler Delegate

Represents the callback method that will handle XML schema validation events and the ValidationEventArgs.

Namespace:  System.Xml.Schema
Assembly:  System.Xml (in System.Xml.dll)

public delegate void ValidationEventHandler(
	Object sender,
	ValidationEventArgs e
)

Parameters

sender
Type: System.Object

The source of the event.

Note    Determine the type of a sender before using it in your code. You cannot assume that the sender is an instance of a particular type. The sender is also not guaranteed to not be null. Always surround your casts with failure handling logic.

e
Type: System.Xml.Schema.ValidationEventArgs

The event data.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft