Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RouteData Constructor (RouteBase, IRouteHandler)
Collapse the table of content
Expand the table of content

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


Type: System.Web.Routing.RouteBase

An object that defines the route.

Type: System.Web.Routing.IRouteHandler

An object that processes the request.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
© 2015 Microsoft