Comparteix a través de


SecurityElementBase.AddBindingTemplate Método

Definición

Aplica la plantilla de configuración especificada a esta instancia.

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>

Un par que está compuesto por un modo de autenticación y un elemento de enlace.

mode
AuthenticationMode

El modo de autenticación usado para el intercambio de mensajes.

Se aplica a