Partager via


HttpSelfHostServer Constructor (HttpSelfHostConfiguration)

Initializes a new instance of the HttpSelfHostServer class.

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

Syntax

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

Dim instance As New HttpSelfHostServer(configuration)
public HttpSelfHostServer(
    HttpSelfHostConfiguration configuration
)
public:
HttpSelfHostServer(
    HttpSelfHostConfiguration^ configuration
)
new : 
        configuration:HttpSelfHostConfiguration -> HttpSelfHostServer
public function HttpSelfHostServer(
    configuration : HttpSelfHostConfiguration
)

Parameters

See Also

Reference

HttpSelfHostServer Class

HttpSelfHostServer Overload

System.Web.Http.SelfHost Namespace