Export (0) Print
Expand All

HttpRequestBase.RequestContext Property

When overridden in a derived class, gets the RequestContext instance of the current request.

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

public virtual 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.

ExceptionCondition
NotImplementedException

Always.

This property provides access to the RouteData object for the current request.

.NET Framework

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