HttpActionContext Class
Contains information for the executing action.
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
The HttpActionContext type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | HttpActionContext() | Initializes a new instance of the HttpActionContext class. |
![]() | HttpActionContext(HttpControllerContext, HttpActionDescriptor) | Initializes a new instance of the HttpActionContext class. |
| Name | Description | |
|---|---|---|
![]() | ActionArguments | Gets a list of action arguments. |
![]() | ActionDescriptor | Gets or sets the action descriptor for the action context. |
![]() | ControllerContext | Gets or sets the controller context. |
![]() | ModelState | Gets the model state dictionary for the context. |
![]() | Request | Gets the request message for the action context. |
![]() | Response | Gets or sets the response message for the action context. |
| Name | Description | |
|---|---|---|
![]() | Bind(ModelBindingContext) | Overloaded. Binds the model to a value by using the specified controller context and binding context. (Defined by HttpActionContextExtensions.) |
![]() | Bind(ModelBindingContext, IEnumerable<IModelBinder>) | Overloaded. Binds the model to a value by using the specified controller context, binding context, and model binders. (Defined by HttpActionContextExtensions.) |
![]() | GetMetadataProvider | Retrieves the ModelMetadataProvider instance for a given HttpActionContext. (Defined by HttpActionContextExtensions.) |
![]() | GetValidatorProviders | Retrieves the collection of registered ModelValidatorProvider instances. (Defined by HttpActionContextExtensions.) |
![]() | GetValidators | Retrieves the collection of registered ModelValidator instances. (Defined by HttpActionContextExtensions.) |
![]() | TryBindStrongModel<TModel> | Binds the model to the property by using the specified execution context and binding context. (Defined by HttpActionContextExtensions.) |
