Abstract base class for the channel dispatcher that accepts channels and associates them with a service.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
This is used by developers who want to keep the Windows Communication Foundation (WCF) programming model but replace the system-provided runtime. Such applications will pull messages out of channels and handle them directly with user-defined dispatchers. To use , create a class derived from it, extend ServiceHost and override InitializeRuntime, adding instances of your class derived from to ChannelDispatchers.
ServiceHost calls the CloseInput during shutdown before closing InstanceContexts. Windows Communication Foundation (WCF) uses this call to close datagram channels and wait for all messages to get to an InstanceContext.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.