HttpConfiguration Constructor

 

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

Overload List

Name Description
System_CAPS_pubmethod HttpConfiguration()

Initializes a new instance of the HttpConfiguration class.

System_CAPS_pubmethod HttpConfiguration(HttpRouteCollection)

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

See Also

HttpConfiguration Class
System.Web.Http Namespace

Return to top

HttpConfiguration Constructor ()

Initializes a new instance of the HttpConfiguration class.

Syntax

public HttpConfiguration()
public:
HttpConfiguration()
new : unit -> HttpConfiguration
Public Sub New

Return to top

HttpConfiguration Constructor (HttpRouteCollection)

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

Syntax

public HttpConfiguration(
    HttpRouteCollection routes
)
public:
HttpConfiguration(
    HttpRouteCollection^ routes
)
new : 
        routes:HttpRouteCollection -> HttpConfiguration
Public Sub New (
    routes As HttpRouteCollection
)

Parameters

Return to top