Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HttpRequest::RequestContext Property

.NET Framework 4.6 and 4.5

Gets the RequestContext instance of the current request.

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

public:
property RequestContext^ RequestContext {
	RequestContext^ get ();
	void set (RequestContext^ value);
}

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