BindingElementCollection 建構函式

定義

初始化 BindingElementCollection 類別的新執行個體。

多載

BindingElementCollection()

初始化 BindingElementCollection 類別的新執行個體。

BindingElementCollection(IEnumerable<BindingElement>)

從繫結項目的可列舉集合初始化 BindingElementCollection 類別的新執行個體。

BindingElementCollection(BindingElement[])

從繫結項目的陣列初始化 BindingElementCollection 類別的新執行個體。

BindingElementCollection()

初始化 BindingElementCollection 類別的新執行個體。

public:
 BindingElementCollection();
public BindingElementCollection ();
Public Sub New ()

適用於

BindingElementCollection(IEnumerable<BindingElement>)

從繫結項目的可列舉集合初始化 BindingElementCollection 類別的新執行個體。

public:
 BindingElementCollection(System::Collections::Generic::IEnumerable<System::ServiceModel::Channels::BindingElement ^> ^ elements);
public BindingElementCollection (System.Collections.Generic.IEnumerable<System.ServiceModel.Channels.BindingElement> elements);
new System.ServiceModel.Channels.BindingElementCollection : seq<System.ServiceModel.Channels.BindingElement> -> System.ServiceModel.Channels.BindingElementCollection
Public Sub New (elements As IEnumerable(Of BindingElement))

參數

elements
IEnumerable<BindingElement>

泛型型別 IEnumerable<T>BindingElement 可以用來初始化集合。

例外狀況

elementsnull

適用於

BindingElementCollection(BindingElement[])

從繫結項目的陣列初始化 BindingElementCollection 類別的新執行個體。

public:
 BindingElementCollection(cli::array <System::ServiceModel::Channels::BindingElement ^> ^ elements);
public BindingElementCollection (System.ServiceModel.Channels.BindingElement[] elements);
new System.ServiceModel.Channels.BindingElementCollection : System.ServiceModel.Channels.BindingElement[] -> System.ServiceModel.Channels.BindingElementCollection
Public Sub New (elements As BindingElement())

參數

elements
BindingElement[]

用來初始化集合之 Array 型別的 BindingElement

例外狀況

elementsnull

適用於