共用方式為


NetMessagingBinding.CreateBindingElements Method

Definition

Returns an ordered collection of binding elements contained in the current binding.

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

Returns

The BindingElementCollection object which contains the ordered stack of binding elements described by the NetMessagingBinding. The order of the binding elements starting from the bottom is transport, encoding, and security.

Applies to