Compartilhar via


RouteCollectionExtensions.MapHttpRoute Method

Include Protected Members
Include Inherited Members

Maps the specified route template.

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

Overload List

  Name Description
Public methodStatic member MapHttpRoute(RouteCollection, String, String) Maps the specified route template.
Public methodStatic member MapHttpRoute(RouteCollection, String, String, Object) Maps the specified route template and sets default route.
Public methodStatic member MapHttpRoute(RouteCollection, String, String, Object, Object) Maps the specified route template and sets default route values and constraints.
Public methodStatic member MapHttpRoute(RouteCollection, String, String, Object, Object, HttpMessageHandler) Maps the specified route template and sets default route values, constraints, and end-point message handler.

Top

See Also

Reference

RouteCollectionExtensions Class

System.Web.Http Namespace