Partager via


HttpRelayTransportBindingElement.BuildChannelListener<TChannel> Méthode

Définition

Crée un écouteur de canal pour les canaux du type générique spécifié.

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)

Paramètres de type

TChannel

Paramètres

context
BindingContext

Le contexte de liaison.

Retours

IChannelListener<TChannel>

Écouteur de canal.

S’applique à