SecurityBindingElement.BuildChannelListenerCore<TChannel> Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
En cas d'implémentation, crée un écouteur de canal d'un type spécifié.
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)
Paramètres de type
- TChannel
Type d'écouteur de canal.
Paramètres
- context
- BindingContext
Objet BindingContext.
Retours
Écouteur de canal d'un type spécifié.
Exceptions
context
a la valeur null
.
Un canal de type TChannel
n'est pas pris en charge.
Remarques
BuildChannelListener, qui effectue la vérification des erreurs, appelle cette méthode. Lorsqu’elle est implémentée dans une classe dérivée, cette méthode crée un écouteur de canal, qui est utilisé pour créer un canal qui traite les messages sortants pour cette liaison.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour