WSDualHttpBinding.CreateBindingElements メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
現在のバインディングに含まれるバインド要素の順序付けられたコレクションを返します。
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
返品
BindingElementCollectionを含むTransactionFlowBindingElement。WSDualHttpBindingには信頼できるセッションが必要であるため、ReliableSessionBindingElement。
例
次の例は、現在のバインディングに含まれるバインド要素の順序付けられたコレクションを取得する方法を示しています。
BindingElementCollection bec = binding.CreateBindingElements();
Dim bec As BindingElementCollection = binding.CreateBindingElements()