ModelValidationNode.Validate Method (ModelBindingExecutionContext)

.NET Framework (current version)
 

Validates the model using the specified execution context.

Namespace:   System.Web.ModelBinding
Assembly:  System.Web (in System.Web.dll)

Public Sub Validate (
	modelBindingExecutionContext As ModelBindingExecutionContext
)

Parameters

modelBindingExecutionContext
Type: System.Web.ModelBinding.ModelBindingExecutionContext

The execution context.

Exception Condition
ArgumentNullException

The modelBindingExecutionContext parameter is null.

If the SuppressValidation property is true, this method does nothing.

.NET Framework
Available since 4.5
Return to top
Show: