RouteData Constructor (RouteBase, IRouteHandler)

 

Initializes a new instance of the RouteData class by using the specified route and route handler.

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

public RouteData(
	RouteBase route,
	IRouteHandler routeHandler
)

Parameters

route
Type: System.Web.Routing.RouteBase

An object that defines the route.

routeHandler
Type: System.Web.Routing.IRouteHandler

An object that processes the request.

.NET Framework
Available since 3.5
Return to top
Show: