Share via


SecurityBindingElement.BuildChannelListenerCore<TChannel> Metoda

Definice

Při implementaci vytvoří naslouchací proces kanálu zadaného typu.

protected:
generic <typename TChannel>
 where TChannel : class, System::ServiceModel::Channels::IChannel abstract System::ServiceModel::Channels::IChannelListener<TChannel> ^ BuildChannelListenerCore(System::ServiceModel::Channels::BindingContext ^ context);
protected abstract System.ServiceModel.Channels.IChannelListener<TChannel> BuildChannelListenerCore<TChannel> (System.ServiceModel.Channels.BindingContext context) where TChannel : class, System.ServiceModel.Channels.IChannel;
abstract member BuildChannelListenerCore : 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)
Protected MustOverride Function BuildChannelListenerCore(Of TChannel As {Class, IChannel}) (context As BindingContext) As IChannelListener(Of TChannel)

Parametry typu

TChannel

Typ naslouchacího procesu kanálu.

Parametry

Návraty

Naslouchací proces kanálu zadaného typu.

Výjimky

context je null.

Kanál typu TChannel není podporován.

Poznámky

BuildChannelListener, která provádí kontrolu chyb, volá tuto metodu. Když je tato metoda implementována v odvozené třídě, vytvoří naslouchací proces kanálu, který slouží k vytvoření kanálu, který zpracovává odchozí zprávy pro tuto vazbu.

Platí pro