Partager via


HttpSelfHostConfiguration Constructor (String)

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 String _
)
'Usage
Dim baseAddress As String

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

Parameters

  • baseAddress
    Type: System.String
    The base address in a form of string.

See Also

Reference

HttpSelfHostConfiguration Class

HttpSelfHostConfiguration Overload

System.Web.Http.SelfHost Namespace