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
System_CAPS_pubmethod HttpControllerContext()

Initializes a new instance of the HttpControllerContext class.

System_CAPS_pubmethod HttpControllerContext(HttpConfiguration, IHttpRouteData, HttpRequestMessage)

Initializes a new instance of the HttpControllerContext class.

System_CAPS_pubmethod HttpControllerContext(HttpRequestContext, HttpRequestMessage, HttpControllerDescriptor, IHttpController)

Initializes a new instance of the HttpControllerContext class.

Properties

Name Description
System_CAPS_pubproperty Configuration

Gets or sets the configuration.

System_CAPS_pubproperty Controller

Gets or sets the HTTP controller.

System_CAPS_pubproperty ControllerDescriptor

Gets or sets the controller descriptor.

System_CAPS_pubproperty Request

Gets or sets the request.

System_CAPS_pubproperty RequestContext

Gets or sets the request context.

System_CAPS_pubproperty RouteData

Gets or sets the route data.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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