The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
HttpRouteCollectionExtensions::MapHttpBatchRoute Method (HttpRouteCollection^, String^, String^, HttpBatchHandler^)
Maps the specified route for handling HTTP batch requests.
Assembly: System.Web.Http (in System.Web.Http.dll)
public: [ExtensionAttribute] static IHttpRoute^ MapHttpBatchRoute( HttpRouteCollection^ routes, String^ routeName, String^ routeTemplate, HttpBatchHandler^ batchHandler )
Parameters
- routes
-
Type:
System.Web.Http::HttpRouteCollection^
A collection of routes for the application.
- routeName
-
Type:
System::String^
The name of the route to map.
- routeTemplate
-
Type:
System::String^
The route template for the route.
- batchHandler
-
Type:
System.Web.Http.Batch::HttpBatchHandler^
The HttpBatchHandler for handling batch requests.
Return Value
Type: System.Web.Http.Routing::IHttpRoute^
Show: