Table of Contents

Class ModelValidatingEventArgs

Namespace
System.Web.Http.Validation
Assembly
System.Web.Http.dll

Provides data for the Validating event.

public sealed class ModelValidatingEventArgs : CancelEventArgs
Inheritance
ModelValidatingEventArgs
Inherited Members

Constructors

ModelValidatingEventArgs(HttpActionContext, ModelValidationNode)

Initializes a new instance of the ModelValidatingEventArgs class.

public ModelValidatingEventArgs(HttpActionContext actionContext, ModelValidationNode parentNode)

Parameters

actionContext HttpActionContext

The action context.

parentNode ModelValidationNode

The parent node.

Properties

ActionContext

Gets or sets the context for an action.

public HttpActionContext ActionContext { get; }

Property Value

HttpActionContext

The context for an action.

ParentNode

Gets or sets the parent of this node.

public ModelValidationNode ParentNode { get; }

Property Value

ModelValidationNode

The parent of this node.