RequestContext Class
Updated: April 2009
Encapsulates information about an HTTP request that matches a defined route.
Assembly: System.Web.Routing (in System.Web.Routing.dll)
The RequestContext class contains information about the HTTP request in the HttpContext property. It contains information about the route that matched the current request in the RouteData property.
When you construct a URL from a route, you pass an instance of the RequestContext class to the RouteCollection::GetVirtualPath method.
- AspNetHostingPermission
for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.
- AspNetHostingPermission
for operating in a hosted environment. Demand value: InheritanceDemand; Permission value: Minimal.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.