ModelValidatedEventArgs Constructor
Initializes a new instance of the ModelValidatedEventArgs 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 ModelValidatedEventArgs(actionContext, _
parentNode)
public ModelValidatedEventArgs(
HttpActionContext actionContext,
ModelValidationNode parentNode
)
public:
ModelValidatedEventArgs(
HttpActionContext^ actionContext,
ModelValidationNode^ parentNode
)
new :
actionContext:HttpActionContext *
parentNode:ModelValidationNode -> ModelValidatedEventArgs
public function ModelValidatedEventArgs(
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.