Partager via


ModelValidatingEventArgs Constructor

Initializes a new instance of the ModelValidatingEventArgs class.

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

Syntax

'Declaration
Public Sub New ( _
    actionContext As HttpActionContext, _
    parentNode As ModelValidationNode _
)
'Usage
Dim actionContext As HttpActionContext
Dim parentNode As ModelValidationNode

Dim instance As New ModelValidatingEventArgs(actionContext, _
    parentNode)
public ModelValidatingEventArgs(
    HttpActionContext actionContext,
    ModelValidationNode parentNode
)
public:
ModelValidatingEventArgs(
    HttpActionContext^ actionContext, 
    ModelValidationNode^ parentNode
)
new : 
        actionContext:HttpActionContext * 
        parentNode:ModelValidationNode -> ModelValidatingEventArgs
public function ModelValidatingEventArgs(
    actionContext : HttpActionContext, 
    parentNode : ModelValidationNode
)

Parameters

See Also

Reference

ModelValidatingEventArgs Class

System.Web.Http.Validation Namespace