ModelValidationNode.Validate Method (HttpActionContext)
Validates the model using the specified execution context.
Namespace: System.Web.Http.Validation
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub Validate ( _
actionContext As HttpActionContext _
)
'Usage
Dim instance As ModelValidationNode
Dim actionContext As HttpActionContext
instance.Validate(actionContext)
public void Validate(
HttpActionContext actionContext
)
public:
void Validate(
HttpActionContext^ actionContext
)
member Validate :
actionContext:HttpActionContext -> unit
public function Validate(
actionContext : HttpActionContext
)
Parameters
- actionContext
Type: System.Web.Http.Controllers.HttpActionContext
The action context.