RouteData Constructors

Definition

Initializes a new instance of the RouteData class.

Overloads

RouteData()

Initializes a new instance of the RouteData class.

RouteData(RouteBase, IRouteHandler)

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

RouteData()

Initializes a new instance of the RouteData class.

public RouteData ();

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

RouteData(RouteBase, IRouteHandler)

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

public RouteData (System.Web.Routing.RouteBase route, System.Web.Routing.IRouteHandler routeHandler);

Parameters

route
RouteBase

An object that defines the route.

routeHandler
IRouteHandler

An object that processes the request.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1