Provides a common base implementation for channel listeners on a service to accept channels produced by the client factories.
Namespace:
System.ServiceModel.Channels
Assembly:
System.ServiceModel (in System.ServiceModel.dll)
Visual Basic (Declaration)
Public MustInherit Class ChannelListenerBase(Of TChannel As {Class, IChannel}) _
Inherits ChannelListenerBase _
Implements IChannelListener(Of TChannel), IChannelListener, _
ICommunicationObject
Dim instance As ChannelListenerBase(Of TChannel)
public abstract class ChannelListenerBase<TChannel> : ChannelListenerBase,
IChannelListener<TChannel>, IChannelListener, ICommunicationObject
where TChannel : class, IChannel
generic<typename TChannel>
where TChannel : ref class, IChannel
public ref class ChannelListenerBase abstract : public ChannelListenerBase,
IChannelListener<TChannel>, IChannelListener, ICommunicationObject
JScript does not support generic types or methods.
Type Parameters
- TChannel
The type of channel the channel listeners accept.
The channel listeners on a service wait for and then accept the channels created by factories on the client. Once the channel connection is established between client and service, they can communicate by exchanging messages
System..::.Object
System.ServiceModel.Channels..::.CommunicationObject
System.ServiceModel.Channels..::.ChannelManagerBase
System.ServiceModel.Channels..::.ChannelListenerBase
System.ServiceModel.Channels..::.ChannelListenerBase<(Of <(TChannel>)>)
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
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.
.NET Framework
Supported in: 3.5, 3.0
.NET Compact Framework
Supported in: 3.5
Reference