Raises the Validating event. This method is called just before
an entity is validated. Override to perform custom pre-validation processing
or optionally cancel the validation operation.

C# | Visual Basic |
protected virtual void OnValidating( CancelEventArgs e )
Protected Overridable Sub OnValidating ( _ e As CancelEventArgs _ )

- e (CancelEventArgs)
- The CancelEventArgs instance containing the event data.