RequestContext Constructor (HttpContextBase, RouteData)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the RequestContext class.

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

Public Sub New (
	httpContext As HttpContextBase,
	routeData As 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: