Edit

Share via


ModelBindingExecutionContext(HttpContextBase, ModelStateDictionary) Constructor

Definition

Initializes a new instance of the ModelBindingExecutionContext class, using the HTTP context and the model state.

public ModelBindingExecutionContext(System.Web.HttpContextBase httpContext, System.Web.ModelBinding.ModelStateDictionary modelState);

Parameters

httpContext
HttpContextBase

The HTTP context.

modelState
ModelStateDictionary

The model state.

Exceptions

The httpContext or modelState parameter is null.

Applies to

Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1