HttpActionContext Class
Contains information for the executing action.
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Inheritance Hierarchy
System.Object
System.Web.Http.Controllers.HttpActionContext
Syntax
public class HttpActionContext
public ref class HttpActionContext
type HttpActionContext = class end
Public Class HttpActionContext
Constructors
Name | Description | |
---|---|---|
HttpActionContext() | Initializes a new instance of the HttpActionContext class. |
|
HttpActionContext(HttpControllerContext, HttpActionDescriptor) | Initializes a new instance of the HttpActionContext class. |
Properties
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. |
|
RequestContext | Gets the current request context. |
|
Response | Gets or sets the response message for the action context. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
Bind(ModelBindingContext) | Overloaded. (Defined by HttpActionContextExtensions.) |
|
Bind(ModelBindingContext, IEnumerable<IModelBinder>) | Overloaded. (Defined by HttpActionContextExtensions.) |
|
GetMetadataProvider() | (Defined by HttpActionContextExtensions.) |
|
GetValidatorProviders() | (Defined by HttpActionContextExtensions.) |
|
GetValidators(ModelMetadata) | (Defined by HttpActionContextExtensions.) |
|
TryBindStrongModel<TModel>(ModelBindingContext, String, ModelMetadataProvider, TModel) | (Defined by HttpActionContextExtensions.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
System.Web.Http.Controllers Namespace
Return to top