HttpRequest.RequestContext Property

.NET Framework (current version)
 

Gets the RequestContext instance of the current request.

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

member RequestContext : RequestContext with get, set

Property Value

Type: System.Web.Routing.RequestContext

The RequestContext instance of the current request. For non-routed requests, the RequestContext object that is returned is empty.

This property provides access to the RouteData object for the current request. For more information about ASP.NET routing, see.ASP.NET Routing.

.NET Framework
Available since 4.0
Return to top
Show: