Share via


HttpSelfHostConfiguration.BaseAddress Property

Gets the base HTTP address.

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

Syntax

'Declaration
Public ReadOnly Property BaseAddress As Uri
    Get
'Usage
Dim instance As HttpSelfHostConfiguration
Dim value As Uri

value = instance.BaseAddress
public Uri BaseAddress { get; }
public:
property Uri^ BaseAddress {
    Uri^ get ();
}
member BaseAddress : Uri
function get BaseAddress () : Uri

Property Value

Type: System.Uri
The Uri object that represents the base HTTP address.

See Also

Reference

HttpSelfHostConfiguration Class

System.Web.Http.SelfHost Namespace