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

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

Poznámky

Zásobník vazeb prvků závisí na hodnotě WSFederationHttpSecurityMode sady.

Zásobník vazeb prvků v WSFederationHttpBinding je stejný jako ten, který je obsažen, WSHttpBinding pokud Security je nastavena na výchozí hodnotu Message.

  1. TransactionFlowBindingElement

  2. SymmetricSecurityBindingElement

  3. TextMessageEncodingBindingElement

  4. HttpTransportBindingElement

Nastavení WSFederationHttpSecurityMode pro výsledek však vede ke TransportWithMessageCredential zásobníku, který je něco hybridního mezi vazbami WSHttpBinding a BasicHttpBinding vazbami.

  1. TransactionFlowBindingElement

  2. TransportSecurityBindingElement

  3. TextMessageEncodingBindingElement

  4. HttpsTransportBindingElement

Nakonec použití kodéru MTOM vypadá přesně stejně jako pro WSHttpBinding.

  1. TransactionFlowBindingElement

  2. MtomMessageEncodingBindingElement

  3. HttpTransportBindingElement

Platí pro