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
- actionContext
Type: System.Web.Http.Controllers.HttpActionContext
The action context.
- parentNode
Type: System.Web.Http.Validation.ModelValidationNode
The parent node.