ChannelDispatcherBase Class
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 ChannelDispatcherBase , create a class derived from it, extend ServiceHost and override InitializeRuntime, adding instances of your class derived from ChannelDispatcherBase to ChannelDispatchers.
The IChannelListener and the ServiceHost, associated with the ChannelDispatcherBase object are available for inspection or modification through the Listener and Host respectively.
ServiceHost calls the Attach or Detach methods when adding or removing a ChannelDispatcherBase item from its ChannelDispatchers collection.
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.
System.ServiceModel.Channels.CommunicationObject
System.ServiceModel.Dispatcher.ChannelDispatcherBase
System.ServiceModel.Dispatcher.ChannelDispatcher
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.