RequestContext Property

HttpRequestBase.RequestContext Property

.NET Framework (current version)
 

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.

Exception Condition
NotImplementedException

Always.

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

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft