BindingContext.RemainingBindingElements Właściwość

Definicja

Pobiera elementy powiązania, które są używane przez inne elementy powiązania do konstruowania stosu kanału.

public:
 property System::ServiceModel::Channels::BindingElementCollection ^ RemainingBindingElements { System::ServiceModel::Channels::BindingElementCollection ^ get(); };
public System.ServiceModel.Channels.BindingElementCollection RemainingBindingElements { get; }
member this.RemainingBindingElements : System.ServiceModel.Channels.BindingElementCollection
Public ReadOnly Property RemainingBindingElements As BindingElementCollection

Wartość właściwości

BindingElementCollection

Element BindingElementCollection , który zawiera elementy powiązania, które są używane przez inne elementy powiązania do konstruowania stosu kanału.

Przykłady

CustomBinding binding = new CustomBinding();
BindingParameterCollection bpCol = new BindingParameterCollection();
BindingContext context = new BindingContext(binding, bpCol);
BindingElementCollection bindingElements = context.RemainingBindingElements;
Dim binding As New CustomBinding()
Dim bpCol As New BindingParameterCollection()
Dim context As New BindingContext(binding, bpCol)
Dim bindingElements As BindingElementCollection = context.RemainingBindingElements

Uwagi

Elementy powiązania umieszczone w tej kolekcji to te elementy, które nie odpowiadają bezpośrednio odbiornikowi lub fabryce w jednym ze stosów kanałów. Element powiązania kodera, na przykład, kończy się w tej kolekcji, a następnie jest używany przez kanał transportu do konstruowania kodera komunikatów.

Dotyczy