ByteStreamMessageEncodingBindingElement.BuildChannelListener<TChannel> Method

Definition

Builds the channel listener on the service that accepts a specified type of channel for a specified context.

C#
public override System.ServiceModel.Channels.IChannelListener<TChannel> BuildChannelListener<TChannel>(System.ServiceModel.Channels.BindingContext context) where TChannel : class, System.ServiceModel.Channels.IChannel;

Type Parameters

TChannel

The type of channel the channel listener accepts.

Parameters

context
BindingContext

The binding context for the listener.

Returns

A channel listener of type TChannel for the specified context.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1