RequestContext Constructor (HttpContextBase^, RouteData^)

 

Initializes a new instance of the RequestContext class.

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

public:
RequestContext(
	HttpContextBase^ httpContext,
	RouteData^ routeData
)

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
Return to top
Show: