SslStreamSecurityBindingElement.BuildChannelListener<TChannel>(BindingContext) Método
Definição
Cria um ouvinte de canais de um tipo especificado.Creates a channel listener of a specified type.
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)
Parâmetros de tipo
- TChannel
Tipo de ouvinte de canal.Type of channel listener.
Parâmetros
- context
- BindingContext
O BindingContext.The BindingContext.
Retornos
Um objeto IChannelListener que representa um ouvinte de canais do tipo TChannel.An IChannelListener object that represents a channel listener of type TChannel.
Exceções
context é null.context is null.
Comentários
Esse método cria um ouvinte de canal, que é usado para criar um canal que processa mensagens de entrada para essa associação.This method creates a channel listener, which is used to create a channel that processes incoming messages for this binding.