ModelValidationNode.Validating Event
Occurs when the model is being validated.
Namespace: System.Web.Http.Validation
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Event Validating As EventHandler(Of ModelValidatingEventArgs)
'Usage
Dim instance As ModelValidationNode
Dim handler As EventHandler(Of ModelValidatingEventArgs)
AddHandler instance.Validating, handler
public event EventHandler<ModelValidatingEventArgs> Validating
public:
event EventHandler<ModelValidatingEventArgs^>^ Validating {
void add (EventHandler<ModelValidatingEventArgs^>^ value);
void remove (EventHandler<ModelValidatingEventArgs^>^ value);
}
member Validating : IEvent<EventHandler<ModelValidatingEventArgs>,
ModelValidatingEventArgs>
JScript supports the use of events, but not the declaration of new ones.