Share via


HttpRouteCollectionExtensions Class

 

Extension methods for HttpRouteCollection

Namespace:   System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

Inheritance Hierarchy

System.Object
  System.Web.Http.HttpRouteCollectionExtensions

Syntax

[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static class HttpRouteCollectionExtensions
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ExtensionAttribute]
public ref class HttpRouteCollectionExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
type HttpRouteCollectionExtensions = class end
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<ExtensionAttribute>
Public NotInheritable Class HttpRouteCollectionExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static IgnoreRoute(HttpRouteCollection, String, String)

Ignores the specified route.

System_CAPS_pubmethodSystem_CAPS_static IgnoreRoute(HttpRouteCollection, String, String, Object)

Ignores the specified route.

System_CAPS_pubmethodSystem_CAPS_static MapHttpBatchRoute(HttpRouteCollection, String, String, HttpBatchHandler)

Maps the specified route for handling HTTP batch requests.

System_CAPS_pubmethodSystem_CAPS_static MapHttpRoute(HttpRouteCollection, String, String)

Maps the specified route template.

System_CAPS_pubmethodSystem_CAPS_static MapHttpRoute(HttpRouteCollection, String, String, Object)

Maps the specified route template and sets default route values.

System_CAPS_pubmethodSystem_CAPS_static MapHttpRoute(HttpRouteCollection, String, String, Object, Object)

Maps the specified route template and sets default route values and constraints.

System_CAPS_pubmethodSystem_CAPS_static MapHttpRoute(HttpRouteCollection, String, String, Object, Object, HttpMessageHandler)

Maps the specified route template and sets default route values, constraints, and end-point message handler.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Http Namespace

Return to top