[This is preliminary documentation and is subject to change.]
Gets the WebServiceHost hosting the web service.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public WebServiceHost ServiceHost { get; }
Public ReadOnly Property ServiceHost As WebServiceHost
public: virtual property WebServiceHost^ ServiceHost { WebServiceHost^ get () sealed; }
Remarks
By default, the ServiceHost only has WebHttpBinding endpoint at the ServiceUri.
Additional endpoints can be added to the ServiceHost when ServiceHostCreated event is fired.