Provides a thread-safe collection that contains channel dispatchers.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
This collection is used by ServiceHostBase to manage the channel dispatchers associated with the host. A is created when ServiceHostBase is called and the collection can be accessed using the ChannelDispatchers property.
The collection contains ChannelDispatcherBase objects (and not just instances of ChannelDispatcher) because it is also used by developers who want to keep the Windows Communication Foundation (WCF) programming model but replace the system-provided runtime. They derive a class from ChannelDispatcherBase and extend ServiceHost (which inherits from ServiceHostBase) by overriding InitializeRuntime, adding instances of the class derived from ChannelDispatcherBase to ChannelDispatchers.
This class has no public constructors and is not intended to be used outside of the ServiceHost.
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.