BindingContext.RemainingBindingElements Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the binding elements that are used by other binding elements to construct the channel stack.
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
Property Value
The BindingElementCollection that contains the binding elements that are used by other binding elements to construct the channel stack.
Examples
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
Remarks
The binding elements that are put into this collection are those elements that do not correspond directly to a listener or factory in one of the channel stacks. The encoder binding element, for example, ends up in this collection and is then used by the transport channel to construct a message encoder.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應