語言

BindingElementCollection 建構函式

定義

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

多載

名稱 Description
BindingElementCollection()

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

BindingElementCollection(IEnumerable<BindingElement>)

從可枚舉的束縛元素集合中初始化該 BindingElementCollection 類別的新實例。

BindingElementCollection(BindingElement[])

從一組綁定元素的陣列初始化該 BindingElementCollection 類別的新實例。

BindingElementCollection()

來源:
BindingElementCollection.cs
來源:
BindingElementCollection.cs
來源:
BindingElementCollection.cs

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

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

適用於

BindingElementCollection(IEnumerable<BindingElement>)

來源:
BindingElementCollection.cs
來源:
BindingElementCollection.cs
來源:
BindingElementCollection.cs

從可枚舉的束縛元素集合中初始化該 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

例外狀況

elements 是 null。

適用於

BindingElementCollection(BindingElement[])

來源:
BindingElementCollection.cs
來源:
BindingElementCollection.cs
來源:
BindingElementCollection.cs

從一組綁定元素的陣列初始化該 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用於初始化集合。

例外狀況

elements 是 null。

適用於