ModelValidatingEventArgs Class

Provides data for the Validating event.

Inheritance Hierarchy

System.Object
  System.EventArgs
    System.ComponentModel.CancelEventArgs
      System.Web.Http.Validation.ModelValidatingEventArgs

Namespace:  System.Web.Http.Validation
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public NotInheritable Class ModelValidatingEventArgs _
    Inherits CancelEventArgs
'Usage
Dim instance As ModelValidatingEventArgs
public sealed class ModelValidatingEventArgs : CancelEventArgs
public ref class ModelValidatingEventArgs sealed : public CancelEventArgs
[<SealedAttribute>]
type ModelValidatingEventArgs =  
    class
        inherit CancelEventArgs
    end
public final class ModelValidatingEventArgs extends CancelEventArgs

The ModelValidatingEventArgs type exposes the following members.

Constructors

  Name Description
Public method ModelValidatingEventArgs Initializes a new instance of the ModelValidatingEventArgs class.

Top

Properties

  Name Description
Public property ActionContext Gets or sets the context for an action.
Public property Cancel (Inherited from CancelEventArgs.)
Public property ParentNode Gets or sets the parent of this node.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Http.Validation Namespace