HttpControllerContext Class
Contains information for a single HTTP operation.
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Inheritance Hierarchy
System.Object
System.Web.Http.Controllers.HttpControllerContext
Syntax
public class HttpControllerContext
public ref class HttpControllerContext
type HttpControllerContext = class end
Public Class HttpControllerContext
Constructors
Name | Description | |
---|---|---|
HttpControllerContext() | Initializes a new instance of the HttpControllerContext class. |
|
HttpControllerContext(HttpConfiguration, IHttpRouteData, HttpRequestMessage) | Initializes a new instance of the HttpControllerContext class. |
|
HttpControllerContext(HttpRequestContext, HttpRequestMessage, HttpControllerDescriptor, IHttpController) | Initializes a new instance of the HttpControllerContext class. |
Properties
Name | Description | |
---|---|---|
Configuration | Gets or sets the configuration. |
|
Controller | Gets or sets the HTTP controller. |
|
ControllerDescriptor | Gets or sets the controller descriptor. |
|
Request | Gets or sets the request. |
|
RequestContext | Gets or sets the request context. |
|
RouteData | Gets or sets the route data. |
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.) |
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