HttpRequest.RequestContext Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: