[This is preliminary documentation and is subject to change.]
Gets the WebServiceHost hosting the web service.

C# | Visual Basic | Visual C++ |
public WebServiceHost ServiceHost { get; }
Public ReadOnly Property ServiceHost As WebServiceHost
public: virtual property WebServiceHost^ ServiceHost { WebServiceHost^ get () sealed; }

By default, the ServiceHost only has WebHttpBinding endpoint at the ServiceUri.
Additional endpoints can be added to the ServiceHost when ServiceHostCreated event is fired.