共用方式為


SecurityElementBase.AddBindingTemplates 方法

定義

將指定的設定範本套用至這個執行個體。

protected:
 virtual void AddBindingTemplates(System::Collections::Generic::Dictionary<System::ServiceModel::Configuration::AuthenticationMode, System::ServiceModel::Channels::SecurityBindingElement ^> ^ bindingTemplates);
protected virtual void AddBindingTemplates (System.Collections.Generic.Dictionary<System.ServiceModel.Configuration.AuthenticationMode,System.ServiceModel.Channels.SecurityBindingElement> bindingTemplates);
abstract member AddBindingTemplates : System.Collections.Generic.Dictionary<System.ServiceModel.Configuration.AuthenticationMode, System.ServiceModel.Channels.SecurityBindingElement> -> unit
override this.AddBindingTemplates : System.Collections.Generic.Dictionary<System.ServiceModel.Configuration.AuthenticationMode, System.ServiceModel.Channels.SecurityBindingElement> -> unit
Protected Overridable Sub AddBindingTemplates (bindingTemplates As Dictionary(Of AuthenticationMode, SecurityBindingElement))

參數

bindingTemplates
Dictionary<AuthenticationMode,SecurityBindingElement>

由驗證模式和繫結項目組成的配對。

適用於