Binding.CreateBindingElements 方法

定义

在派生类中重写时,创建一个集合,该集合包含属于当前绑定的绑定元素。

public:
 abstract System::ServiceModel::Channels::BindingElementCollection ^ CreateBindingElements();
public abstract System.ServiceModel.Channels.BindingElementCollection CreateBindingElements ();
abstract member CreateBindingElements : unit -> System.ServiceModel.Channels.BindingElementCollection
Public MustOverride Function CreateBindingElements () As BindingElementCollection

返回

BindingElementCollection

一个类型为 ICollection<T>BindingElement 对象,它以正确的顺序包含当前绑定对象的绑定元素。

注解

这些元素不应引用 Binding 对象所使用的任何内部元素。

适用于