Performs additional custom processes when validating a value.
o The object being validated.
The ParameterCollection.OnValidate(object) method determines whether the object specified in the o parameter is a System.Web.UI.WebControls.Parameter instance. If not, it throws an ArgumentException exception.