HttpSelfHostConfiguration Constructor
Namespace: System.Web.Http.SelfHost
Assembly: System.Web.Http.SelfHost (in System.Web.Http.SelfHost.dll)
Overload List
Name | Description | |
---|---|---|
HttpSelfHostConfiguration(String) | Initializes a new instance of the HttpSelfHostConfiguration class. |
|
HttpSelfHostConfiguration(Uri) | Initializes a new instance of the HttpSelfHostConfiguration class. |
See Also
HttpSelfHostConfiguration Class
System.Web.Http.SelfHost Namespace
Return to top
HttpSelfHostConfiguration Constructor (String)
Initializes a new instance of the HttpSelfHostConfiguration class.
Syntax
public HttpSelfHostConfiguration(
string baseAddress
)
public:
HttpSelfHostConfiguration(
String^ baseAddress
)
new :
baseAddress:string -> HttpSelfHostConfiguration
Public Sub New (
baseAddress As String
)
Parameters
baseAddress
Type: System.StringThe base address in a form of string.
Return to top
HttpSelfHostConfiguration Constructor (Uri)
Initializes a new instance of the HttpSelfHostConfiguration class.
Syntax
public HttpSelfHostConfiguration(
Uri baseAddress
)
public:
HttpSelfHostConfiguration(
Uri^ baseAddress
)
new :
baseAddress:Uri -> HttpSelfHostConfiguration
Public Sub New (
baseAddress As Uri
)
Parameters
baseAddress
Type: System.UriThe base address in a URI form.
Return to top