RequestContext.HttpContext Property


Gets information about the HTTP request.

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

public virtual HttpContextBase HttpContext { get; set; }

Property Value

Type: System.Web.HttpContextBase

An object that contains information about the HTTP request.

To set the HttpContext property, you must pass the value as a parameter when you call the RequestContext(HttpContextBase, RouteData) constructor.

.NET Framework
Available since 3.5
Return to top