Bagikan melalui


SslStreamSecurityBindingElement.BuildChannelListener<TChannel> Metode

Definisi

Membuat pendengar saluran dari jenis tertentu.

public:
generic <typename TChannel>
 where TChannel : class, System::ServiceModel::Channels::IChannel override System::ServiceModel::Channels::IChannelListener<TChannel> ^ BuildChannelListener(System::ServiceModel::Channels::BindingContext ^ context);
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)

Jenis parameter

TChannel

Jenis pendengar saluran.

Parameter

Mengembalikan

Objek IChannelListener yang mewakili pendengar saluran jenis TChannel.

Pengecualian

contextadalah null.

Keterangan

Metode ini membuat pendengar saluran, yang digunakan untuk membuat saluran yang memproses pesan masuk untuk pengikatan ini.

Berlaku untuk