This topic has not yet been rated - Rate this topic

RouteCollectionExtensions Class

Extension methods for RouteCollection

System.Object
  System.Web.Http.RouteCollectionExtensions

Namespace:  System.Web.Http
Assembly:  System.Web.Http.WebHost (in System.Web.Http.WebHost.dll)
public static class RouteCollectionExtensions
  NameDescription
Public methodStatic memberMapHttpRoute(RouteCollection, String, String)Maps the specified route template.
Public methodStatic memberMapHttpRoute(RouteCollection, String, String, Object)Maps the specified route template and sets default route.
Public methodStatic memberMapHttpRoute(RouteCollection, String, String, Object, Object)Maps the specified route template and sets default route values and constraints.
Public methodStatic memberMapHttpRoute(RouteCollection, String, String, Object, Object, HttpMessageHandler)Maps the specified route template and sets default route values, constraints, and end-point message handler.
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.