WcfCommunicationListener<TServiceContract>.ServiceHost Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the ServiceHost used by this listener to host the WCF service implementation.
public System.ServiceModel.ServiceHost ServiceHost { get; }
member this.ServiceHost : System.ServiceModel.ServiceHost
Public ReadOnly Property ServiceHost As ServiceHost
Property Value
A ServiceHost used by this listener to host the WCF service implementation.
Remarks
The service host is created by the listener in its constructor. Before this communication listener is opened by the runtime via OpenAsync(CancellationToken) method, the service host can be customized by accessing it via this property.