HttpConfiguration Constructor

 

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

NameDescription
System_CAPS_pubmethodHttpConfiguration()

Initializes a new instance of the HttpConfiguration class.

System_CAPS_pubmethodHttpConfiguration(HttpRouteCollection^)

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

Return to top

HttpConfiguration Constructor ()

Initializes a new instance of the HttpConfiguration class.

public:
HttpConfiguration()
Return to top

HttpConfiguration Constructor (HttpRouteCollection^)

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

public:
HttpConfiguration(
	HttpRouteCollection^ routes
)

Parameters

routes
Type: System.Web.Http::HttpRouteCollection^

The HTTP route collection to associate with this instance.

Return to top
Show: