Share via


BindingContext.RemainingBindingElements プロパティ

定義

チャネル スタックを作成するために他のバインド要素によって使用されるバインド要素を取得します。

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

プロパティ値

チャネル スタックを作成するために他のバインド要素によって使用されるバインド要素が格納されている BindingElementCollection

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

注釈

このコレクションに格納されるバインド要素は、いずれかのチャネル スタックのリスナーまたはファクトリに直接対応してない要素です。 たとえば、エンコーダー バインド要素はこのコレクションに格納された後、メッセージ エンコーダーを作成するためにトランスポート チャネルによって使用されます。

適用対象