Sdílet prostřednictvím


WSFederationHttpBinding.CreateBindingElements Metoda

Definice

Vytvoří kolekci s prvky vazby pro vazbu.

public:
 override System::ServiceModel::Channels::BindingElementCollection ^ CreateBindingElements();
public override System.ServiceModel.Channels.BindingElementCollection CreateBindingElements ();
override this.CreateBindingElements : unit -> System.ServiceModel.Channels.BindingElementCollection
Public Overrides Function CreateBindingElements () As BindingElementCollection

Návraty

BindingElementCollection

ICollection<T>Typ BindingElement , který vytváří vazbu.

Poznámky

Zásobník prvků vazby závisí na hodnotě WSFederationHttpSecurityMode množiny.

Zásobník prvků vazby v WSFederationHttpBinding je stejný jako v WSHttpBinding případě, kdy Security je nastavena na výchozí hodnotu Message .

  1. TransactionFlowBindingElement

  2. SymmetricSecurityBindingElement

  3. TextMessageEncodingBindingElement

  4. HttpTransportBindingElement

Nicméně nastavení WSFederationHttpSecurityMode na TransportWithMessageCredential výsledky v zásobníku, který je něco z hybridu mezi WSHttpBinding BasicHttpBinding vazbami a.

  1. TransactionFlowBindingElement

  2. TransportSecurityBindingElement

  3. TextMessageEncodingBindingElement

  4. HttpsTransportBindingElement

Nakonec bude použití kodéru MTOM naprosto stejné jako pro WSHttpBinding .

  1. TransactionFlowBindingElement

  2. MtomMessageEncodingBindingElement

  3. HttpTransportBindingElement

Platí pro