# OpcEndpointDescriptionCollection Members

> Reference: Represents a collection of OpcEndpointDescription instances.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcEndpointDescriptionCollection</a></dd>
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx">Opc.UaFx</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Inherits members from [Collection&lt;OpcEndpointDescription&gt;](https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.collection-1).

## Constructors

### OpcEndpointDescriptionCollection

<span class="api-meta">2 overloads</span>

| Overload | Description |
|---|---|
| [OpcEndpointDescriptionCollection()](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcendpointdescriptioncollection/members#opcendpointdescriptioncollection-noparams) | Initializes a new instance of the [OpcEndpointDescriptionCollection](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcendpointdescriptioncollection/) class. |
| [OpcEndpointDescriptionCollection(IList&lt;OpcEndpointDescription&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcendpointdescriptioncollection/members#opcendpointdescriptioncollection-system-collections-generic-ilist-of-opc-uafx-opcendpointdescription) | Initializes a new instance of the [OpcEndpointDescriptionCollection](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcendpointdescriptioncollection/) class as a wrapper for the specified `list`. |

#### OpcEndpointDescriptionCollection()

Initializes a new instance of the [OpcEndpointDescriptionCollection](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcendpointdescriptioncollection/) class.

<div class="api-signature" data-lang="csharp">

```csharp
public OpcEndpointDescriptionCollection()
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New()
```

</div>

#### OpcEndpointDescriptionCollection(IList&lt;OpcEndpointDescription&gt;)

Initializes a new instance of the [OpcEndpointDescriptionCollection](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcendpointdescriptioncollection/) class as a wrapper for the specified `list`.

<div class="api-signature" data-lang="csharp">

```csharp
public OpcEndpointDescriptionCollection(IList<OpcEndpointDescription> list)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(list As IList(Of OpcEndpointDescription))
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `list` | [IList](https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1)&lt;[OpcEndpointDescription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcendpointdescription/)&gt; | The [IList&lt;T&gt;](https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1) of [OpcEndpointDescription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcendpointdescription/) instances to wrap. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `list` is a null reference (Nothing in Visual Basic). |
