NetPeerTcpBinding.CreateBindingElements 方法

定義

建立含有繫結之繫結項目的集合。Creates a collection with the binding elements for the binding.

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>BindingElementThe ICollection<T> of type BindingElement that makes up the binding.

適用於