Share via

HttpControllerContext Class

Contains information for a single HTTP operation.

Inheritance Hierarchy


Namespace:  System.Web.Http.Controllers
Assembly:  System.Web.Http (in System.Web.Http.dll)


Public Class HttpControllerContext
Dim instance As HttpControllerContext
public class HttpControllerContext
public ref class HttpControllerContext
type HttpControllerContext =  class end
public class HttpControllerContext

The HttpControllerContext type exposes the following members.


  Name Description
Public method HttpControllerContext() Initializes a new instance of the HttpControllerContext class.
Public method HttpControllerContext(HttpConfiguration, IHttpRouteData, HttpRequestMessage) Initializes a new instance of the HttpControllerContext class.



  Name Description
Public property Configuration Gets or sets the configuration.
Public property Controller Gets or sets the HTTP controller.
Public property ControllerDescriptor Gets or sets the controller descriptor.
Public property Request Gets or sets the request.
Public property RouteData Gets or sets the route data.



  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method 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