Partager via


SecurityElementBase.AddBindingTemplate Méthode

Définition

Applique à cette instance le modèle de configuration spécifié.

protected:
 void AddBindingTemplate(System::Collections::Generic::Dictionary<System::ServiceModel::Configuration::AuthenticationMode, System::ServiceModel::Channels::SecurityBindingElement ^> ^ bindingTemplates, System::ServiceModel::Configuration::AuthenticationMode mode);
protected void AddBindingTemplate (System.Collections.Generic.Dictionary<System.ServiceModel.Configuration.AuthenticationMode,System.ServiceModel.Channels.SecurityBindingElement> bindingTemplates, System.ServiceModel.Configuration.AuthenticationMode mode);
member this.AddBindingTemplate : System.Collections.Generic.Dictionary<System.ServiceModel.Configuration.AuthenticationMode, System.ServiceModel.Channels.SecurityBindingElement> * System.ServiceModel.Configuration.AuthenticationMode -> unit
Protected Sub AddBindingTemplate (bindingTemplates As Dictionary(Of AuthenticationMode, SecurityBindingElement), mode As AuthenticationMode)

Paramètres

bindingTemplates
Dictionary<AuthenticationMode,SecurityBindingElement>

Paire qui se compose d’un mode d’authentification et d’un élément de liaison.

mode
AuthenticationMode

Mode d'authentification utilisé pour l'échange de messages.

S’applique à