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
Available since 1.1
Return to top
Show: