ChannelDispatcherBase.Host Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

When overridden in a derived class, gets the service host associated with the channel dispatcher.

Namespace:   System.ServiceModel.Dispatcher
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public abstract ServiceHostBase Host { get; }

Property Value

Type: System.ServiceModel.ServiceHostBase

The ServiceHostBase for the service associated with the dispatcher.

Each ServiceHost object can have many ChannelDispatcher objects, each associated with a different IChannelListener for that service. The host keeps a list of these ChannelDispatcherBase objects in the ChannelDispatchers collection.

.NET Framework
Available since 3.0
Return to top
Show: