Editar

Compartilhar via


BasicHttpContextBinding.CreateBindingElements Method

Definition

Creates an ordered collection of binding elements that are contained in the current binding.

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

Returns

A BindingElementCollection that contains the ordered stack of binding elements described by the BasicHttpContextBinding.

Remarks

The collection contains the ContextBindingElement that enables SOAP headers to be used to exchange context when HTTP cookies are not enabled; otherwise use HTTP cookies to exchange context.

Applies to