This documentation is archived and is not being maintained.

Route Constructor

Initializes a new instance of the Route class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Route(String, IRouteHandler) Initializes a new instance of the Route class, by using the specified URL pattern and handler class.
Public method Route(String, RouteValueDictionary, IRouteHandler) Initializes a new instance of the Route class, by using the specified URL pattern, default parameter values, and handler class.
Public method Route(String, RouteValueDictionary, RouteValueDictionary, IRouteHandler) Initializes a new instance of the Route class, by using the specified URL pattern, default parameter values, constraints, and handler class.
Public method Route(String, RouteValueDictionary, RouteValueDictionary, RouteValueDictionary, IRouteHandler) Initializes a new instance of the Route class, by using the specified URL pattern, default parameter values, constraints, custom values, and handler class.
Top
Show: