This derived System.EventArgs class is used for the CustomValidator.ServerValidate event. This class provides a Value property, which specifies the value that needs to be examined, and an IsValid property, which the event handling code sets to indicate whether the value is valid (True) or invalid (False).
public sealed class ServerValidateEventArgs : EventArgs { // Public Constructors public ServerValidateEventArgs(string value, bool isValid); // Public Instance Properties public bool IsValid{set; get; } public string Value{get; } }