IChannelListener Generic Interface
Assembly: System.ServiceModel (in system.servicemodel.dll)
public interface IChannelListener<TChannel> : IChannelListener, ICommunicationObject where TChannel : IChannel
The type of channel that the channel listener accepts.
Listener factories that implement the IChannelListener or IChannelListener interfaces provide services with the mechanisms used to accept the channels produced by clients that initiate and enable communication with a service.
Implementing the IChannelListener contract allows users to accept multiple channels of a given type without having to specify the channel type each time. In other words, defining the channel type as a generic parameter for the IChannelListener interface means that it is not necessary to pass the type into the AcceptChannel methods. If users want to accept different channel types, they can create additional channel listeners for each type of channel required.
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 EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.