Export (0) Print
Expand All

HttpRequest.RequestContext Property

Gets the RequestContext instance of the current request.

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

public RequestContext RequestContext { 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

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