共用方式為


NetPeerTcpBinding.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

傳回

BindingElementCollection

組成繫結且型別為 ICollection<T>BindingElement

適用於