NetTcpBinding.CreateBindingElements メソッド

定義

バインド用のバインド要素でコレクションを作成します。

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

戻り値

バインドを構成する ICollection<T> 型の BindingElement

この例では、 メソッドを使用して、 CreateBindingElements バインディングのバインド要素を含むコレクションを作成する方法を示します。

BindingElementCollection elementCollection =
binding.CreateBindingElements();

適用対象