Share via


HttpSelfHostConfiguration Constructor (Uri)

Initializes a new instance of the HttpSelfHostConfiguration class.

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

Syntax

'Declaration
Public Sub New ( _
    baseAddress As Uri _
)
'Usage
Dim baseAddress As Uri

Dim instance As New HttpSelfHostConfiguration(baseAddress)
public HttpSelfHostConfiguration(
    Uri baseAddress
)
public:
HttpSelfHostConfiguration(
    Uri^ baseAddress
)
new : 
        baseAddress:Uri -> HttpSelfHostConfiguration
public function HttpSelfHostConfiguration(
    baseAddress : Uri
)

Parameters

  • baseAddress
    Type: System.Uri
    The base address in a URI form.

See Also

Reference

HttpSelfHostConfiguration Class

HttpSelfHostConfiguration Overload

System.Web.Http.SelfHost Namespace