ValidationEventHandler ValidationEventHandler ValidationEventHandler Delegate

Definition

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

public delegate void ValidationEventHandler(System::Object ^ sender, ValidationEventArgs ^ e);
public delegate void ValidationEventHandler(object sender, ValidationEventArgs e);
Public Delegate Sub ValidationEventHandler(sender As Object, e As ValidationEventArgs)
Parameters
sender

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

The event data.

Inheritance
ValidationEventHandlerValidationEventHandlerValidationEventHandler

Applies to