Controller.HttpContext Property

Gets HTTP-specific information about an individual HTTP request.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public ReadOnly Property HttpContext As HttpContextBase
    Get
public HttpContextBase HttpContext { get; }
public:
property HttpContextBase^ HttpContext {
    HttpContextBase^ get ();
}

Property Value

Type: System.Web.HttpContextBase
The HTTP context.

See Also

Reference

Controller Class

System.Web.Mvc Namespace