Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft