Modifier

Partager via


SecurityElementBase.AddBindingTemplate Method

Definition

Applies the specified configuration template to this instance.

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)

Parameters

bindingTemplates
Dictionary<AuthenticationMode,SecurityBindingElement>

A pair that consists of an authentication mode and a binding element.

mode
AuthenticationMode

The authentication mode used for message exchange.

Applies to