Compartilhar via


SecurityElementBase.AddBindingTemplate Método

Definição

Aplica o modelo de configuração especificado a essa instância.

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)

Parâmetros

bindingTemplates
Dictionary<AuthenticationMode,SecurityBindingElement>

Um par composto por modo de autenticação e um elemento de associação.

mode
AuthenticationMode

O modo de autenticação usada para troca de mensagens.

Aplica-se a