HttpRelayTransportBindingElement.BuildChannelListener(BindingContext) HttpRelayTransportBindingElement.BuildChannelListener(BindingContext) HttpRelayTransportBindingElement.BuildChannelListener(BindingContext) Method

Definition

Creates a channel listener for channels of the specified generic type.

public override System.ServiceModel.Channels.IChannelListener<TChannel> BuildChannelListener<TChannel> (System.ServiceModel.Channels.BindingContext context) where TChannel : class, System.ServiceModel.Channels.IChannel;
override this.BuildChannelListener : System.ServiceModel.Channels.BindingContext -> System.ServiceModel.Channels.IChannelListener<'Channel (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)> (requires 'Channel : null and 'Channel :> System.ServiceModel.Channels.IChannel)
Public Overrides Function BuildChannelListener(Of TChannel As {Class, IChannel}) (context As BindingContext) As IChannelListener(Of TChannel)

Type Parameters

TChannel

Parameters

context
BindingContext BindingContext BindingContext

The binding context.

Returns

IChannelListener<TChannel>

A channel listener.

Applies to