RequestContext::HttpContext Property


Gets information about the HTTP request.

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

property HttpContextBase^ HttpContext {
	virtual HttpContextBase^ get();
	virtual void set(HttpContextBase^ value);

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