Controller.HttpContext Property (System.Web.Mvc)

Switch View :
ScriptFree
.NET Framework Class Library
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

Visual Basic
Public ReadOnly Property HttpContext As HttpContextBase
	Get
C#
public HttpContextBase HttpContext { get; }
Visual C++
public:
property HttpContextBase^ HttpContext {
	HttpContextBase^ get ();
}

Property Value

Type: System.Web.HttpContextBase
The HTTP context.
See Also

Reference