Binding.CreateBindingElements 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在派生类中重写时,创建一个集合,其中包含作为当前绑定一部分的绑定元素。
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
返回
一个 ICollection<T> 类型 BindingElement 的对象,该对象包含当前绑定对象中的绑定元素,顺序正确。
注解
元素不应引用对象使用的任何内部元素 Binding 。