Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HttpConfiguration Constructor (HttpRouteCollection)

Initializes a new instance of the HttpConfiguration class with an HTTP route collection.

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

public HttpConfiguration(
	HttpRouteCollection routes


Type: System.Web.Http.HttpRouteCollection
The HTTP route collection to associate with this instance.
© 2015 Microsoft