Partager via


HttpServer Constructor (HttpConfiguration)

Initializes a new instance of the HttpServer class with a specified configuration.

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

Syntax

'Declaration
Public Sub New ( _
    configuration As HttpConfiguration _
)
'Usage
Dim configuration As HttpConfiguration

Dim instance As New HttpServer(configuration)
public HttpServer(
    HttpConfiguration configuration
)
public:
HttpServer(
    HttpConfiguration^ configuration
)
new : 
        configuration:HttpConfiguration -> HttpServer
public function HttpServer(
    configuration : HttpConfiguration
)

Parameters

See Also

Reference

HttpServer Class

HttpServer Overload

System.Web.Http Namespace