RequestContext Constructor (HttpContextBase^, RouteData^)
.NET Framework (current version)
Initializes a new instance of the RequestContext class.
Assembly: System.Web (in System.Web.dll)
Parameters
- httpContext
-
Type:
System.Web::HttpContextBase^
An object that contains information about the HTTP request.
- routeData
-
Type:
System.Web.Routing::RouteData^
An object that contains information about the route that matched the current request.
| Exception | Condition |
|---|---|
| ArgumentNullException | httpContext or routeData is null. |
.NET Framework
Available since 3.5
Available since 3.5
Show: