# OpcClient.SubscribeNode Method

> Reference: Subscribes the Value attribute of the node specified by nodeId.

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

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

| Overload | Description |
|---|---|
| [SubscribeNode(byte\[\])](#subscribenode-system-byte-array) | Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`. |
| [SubscribeNode(Guid)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-guid) | Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`. |
| [SubscribeNode(int)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-int32) | Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`. |
| [SubscribeNode(uint)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-uint32) | Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`. |
| [SubscribeNode(string)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-string) | Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`. |
| [SubscribeNode(byte\[\], OpcAttribute)](#subscribenode-system-byte-array-opc-uafx-opcattribute) | Subscribes the `attribute` of the node specified by `nodeId`. |
| [SubscribeNode(Guid, OpcAttribute)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-guid-opc-uafx-opcattribute) | Subscribes the `attribute` of the node specified by `nodeId`. |
| [SubscribeNode(int, OpcAttribute)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-int32-opc-uafx-opcattribute) | Subscribes the `attribute` of the node specified by `nodeId`. |
| [SubscribeNode(uint, OpcAttribute)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-uint32-opc-uafx-opcattribute) | Subscribes the `attribute` of the node specified by `nodeId`. |
| [SubscribeNode(string, OpcAttribute)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-string-opc-uafx-opcattribute) | Subscribes the `attribute` of the node specified by `nodeId`. |
| [SubscribeNode(byte\[\], int)](#subscribenode-system-byte-array-system-int32) | Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId` and `namespaceIndex` specified to operate on the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute. |
| [SubscribeNode(Guid, int)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-guid-system-int32) | Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId` and `namespaceIndex` specified to operate on the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute. |
| [SubscribeNode(int, int)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-int32-system-int32) | Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId` and `namespaceIndex` specified to operate on the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute. |
| [SubscribeNode(uint, int)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-uint32-system-int32) | Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId` and `namespaceIndex` specified to operate on the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute. |
| [SubscribeNode(string, int)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-string-system-int32) | Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId` and `namespaceIndex` specified to operate on the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute. |
| [SubscribeNode(byte\[\], int, OpcAttribute)](#subscribenode-system-byte-array-system-int32-opc-uafx-opcattribute) | Subscribes the `attribute` of the node specified by `nodeId` and `namespaceIndex` specified to operate on the `attribute`. |
| [SubscribeNode(Guid, int, OpcAttribute)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-guid-system-int32-opc-uafx-opcattribute) | Subscribes the `attribute` of the node specified by `nodeId` and `namespaceIndex` specified to operate on the `attribute`. |
| [SubscribeNode(int, int, OpcAttribute)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-int32-system-int32-opc-uafx-opcattribute) | Subscribes the `attribute` of the node specified by `nodeId` and `namespaceIndex` specified to operate on the `attribute`. |
| [SubscribeNode(uint, int, OpcAttribute)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-uint32-system-int32-opc-uafx-opcattribute) | Subscribes the `attribute` of the node specified by `nodeId` and `namespaceIndex` specified to operate on the `attribute`. |
| [SubscribeNode(string, int, OpcAttribute)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-string-system-int32-opc-uafx-opcattribute) | Subscribes the `attribute` of the node specified by `nodeId` and `namespaceIndex` specified to operate on the `attribute`. |
| [SubscribeNode(byte\[\], OpcMonitoringFilter)](#subscribenode-system-byte-array-opc-uafx-opcmonitoringfilter) | Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`. |
| [SubscribeNode(Guid, OpcMonitoringFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-guid-opc-uafx-opcmonitoringfilter) | Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`. |
| [SubscribeNode(int, OpcMonitoringFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-int32-opc-uafx-opcmonitoringfilter) | Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`. |
| [SubscribeNode(uint, OpcMonitoringFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-uint32-opc-uafx-opcmonitoringfilter) | Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`. |
| [SubscribeNode(string, OpcMonitoringFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-string-opc-uafx-opcmonitoringfilter) | Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`. |
| [SubscribeNode(byte\[\], int, OpcMonitoringFilter)](#subscribenode-system-byte-array-system-int32-opc-uafx-opcmonitoringfilter) | Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId` and `namespaceIndex` specified. |
| [SubscribeNode(Guid, int, OpcMonitoringFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-guid-system-int32-opc-uafx-opcmonitoringfilter) | Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId` and `namespaceIndex` specified. |
| [SubscribeNode(int, int, OpcMonitoringFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-int32-system-int32-opc-uafx-opcmonitoringfilter) | Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId` and `namespaceIndex` specified. |
| [SubscribeNode(uint, int, OpcMonitoringFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-uint32-system-int32-opc-uafx-opcmonitoringfilter) | Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId` and `namespaceIndex` specified. |
| [SubscribeNode(string, int, OpcMonitoringFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-string-system-int32-opc-uafx-opcmonitoringfilter) | Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId` and `namespaceIndex` specified. |
| [SubscribeNode(byte\[\], OpcAttribute, OpcMonitoringFilter)](#subscribenode-system-byte-array-opc-uafx-opcattribute-opc-uafx-opcmonitoringfilter) | Subscribes the `attribute` of the node specified by `nodeId`. |
| [SubscribeNode(Guid, OpcAttribute, OpcMonitoringFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-guid-opc-uafx-opcattribute-opc-uafx-opcmonitoringfilter) | Subscribes the `attribute` of the node specified by `nodeId`. |
| [SubscribeNode(int, OpcAttribute, OpcMonitoringFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-int32-opc-uafx-opcattribute-opc-uafx-opcmonitoringfilter) | Subscribes the `attribute` of the node specified by `nodeId`. |
| [SubscribeNode(uint, OpcAttribute, OpcMonitoringFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-uint32-opc-uafx-opcattribute-opc-uafx-opcmonitoringfilter) | Subscribes the `attribute` of the node specified by `nodeId`. |
| [SubscribeNode(string, OpcAttribute, OpcMonitoringFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-string-opc-uafx-opcattribute-opc-uafx-opcmonitoringfilter) | Subscribes the `attribute` of the node specified by `nodeId`. |
| [SubscribeNode(byte\[\], int, OpcAttribute, OpcMonitoringFilter)](#subscribenode-system-byte-array-system-int32-opc-uafx-opcattribute-opc-uafx-opcmonitoringfilter) | Subscribes the `attribute` of the node specified by `nodeId` and `namespaceIndex` specified. |
| [SubscribeNode(Guid, int, OpcAttribute, OpcMonitoringFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-guid-system-int32-opc-uafx-opcattribute-opc-uafx-opcmonitoringfilter) | Subscribes the `attribute` of the node specified by `nodeId` and `namespaceIndex` specified. |
| [SubscribeNode(int, int, OpcAttribute, OpcMonitoringFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-int32-system-int32-opc-uafx-opcattribute-opc-uafx-opcmonitoringfilter) | Subscribes the `attribute` of the node specified by `nodeId` and `namespaceIndex` specified. |
| [SubscribeNode(uint, int, OpcAttribute, OpcMonitoringFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-uint32-system-int32-opc-uafx-opcattribute-opc-uafx-opcmonitoringfilter) | Subscribes the `attribute` of the node specified by `nodeId` and `namespaceIndex` specified. |
| [SubscribeNode(string, int, OpcAttribute, OpcMonitoringFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-system-string-system-int32-opc-uafx-opcattribute-opc-uafx-opcmonitoringfilter) | Subscribes the `attribute` of the node specified by `nodeId` and `namespaceIndex` specified. |
| [SubscribeNode(OpcNodeId)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-opc-uafx-opcnodeid) | Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`. |
| [SubscribeNode(OpcNodeId, OpcAttribute)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-opc-uafx-opcnodeid-opc-uafx-opcattribute) | Subscribes the `attribute` of the node specified by `nodeId`. |
| [SubscribeNode(OpcNodeId, OpcMonitoringFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-opc-uafx-opcnodeid-opc-uafx-opcmonitoringfilter) | Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`. |
| [SubscribeNode(OpcNodeId, OpcAttribute, OpcMonitoringFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-opc-uafx-opcnodeid-opc-uafx-opcattribute-opc-uafx-opcmonitoringfilter) | Subscribes the `attribute` of the node specified by `nodeId`. |
| [SubscribeNode(OpcSubscribeNode)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/subscribenode#subscribenode-opc-uafx-client-opcsubscribenode) | Creates a [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) using the [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup defined by the `command` specified. |

**Exceptions (all overloads)**

| Exception | Condition |
|---|---|
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) | The subscription service is currently not supported, especially using the arguments specified. |
| [ObjectDisposedException](https://learn.microsoft.com/dotnet/api/system.objectdisposedexception) | The object has been disposed of. |
| [OpcException](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcexception/) | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: [BadNothingToDo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnothingtodo), [BadTooManyOperations](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badtoomanyoperations), [BadTimestampsToReturnInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badtimestampstoreturninvalid), [BadSubscriptionIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badsubscriptionidinvalid), [BadMonitoringModeInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badmonitoringmodeinvalid), [BadNodeIdInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidinvalid), [BadNodeIdUnknown](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badnodeidunknown), [BadAttributeInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badattributeinvalid), [BadIndexRangeInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badindexrangeinvalid), [BadIndexRangeNoData](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badindexrangenodata), [BadDataEncodingInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#baddataencodinginvalid), [BadDataEncodingUnsupported](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#baddataencodingunsupported), [BadMonitoredItemFilterInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badmonitoreditemfilterinvalid), [BadMonitoredItemFilterUnsupported](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badmonitoreditemfilterunsupported), [BadFilterNotAllowed](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badfilternotallowed), [BadTooManySubscriptions](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badtoomanysubscriptions) and [BadTooManyMonitoredItems](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badtoomanymonitoreditems). |

## SubscribeNode(byte\[\])

Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(byte[] nodeId)
```

</div>

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

```vbnet
Public Function SubscribeNode(nodeId As Byte()) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Byte](https://learn.microsoft.com/dotnet/api/system.byte)[] | The opaque node identifier of the node to subscribe. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(Guid)

Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(Guid nodeId)
```

</div>

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

```vbnet
Public Function SubscribeNode(nodeId As Guid) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Guid](https://learn.microsoft.com/dotnet/api/system.guid) | The general unique identifier (= GUID) of the node to subscribe. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(int)

Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(int nodeId)
```

</div>

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

```vbnet
Public Function SubscribeNode(nodeId As Integer) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node to subscribe. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(uint)

Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(uint nodeId)
```

</div>

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

```vbnet
Public Function SubscribeNode(nodeId As UInteger) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [UInt32](https://learn.microsoft.com/dotnet/api/system.uint32) | The numeric node identifier of the node to subscribe. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(string)

Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(string nodeId)
```

</div>

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

```vbnet
Public Function SubscribeNode(nodeId As String) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node to subscribe. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(byte\[\], OpcAttribute)

Subscribes the `attribute` of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(byte[] nodeId, OpcAttribute attribute)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As Byte(),
    attribute As OpcAttribute) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Byte](https://learn.microsoft.com/dotnet/api/system.byte)[] | The opaque node identifier of the node to subscribe. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the subscription. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(Guid, OpcAttribute)

Subscribes the `attribute` of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(Guid nodeId, OpcAttribute attribute)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As Guid,
    attribute As OpcAttribute) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Guid](https://learn.microsoft.com/dotnet/api/system.guid) | The general unique identifier (= GUID) of the node to subscribe. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the subscription. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(int, OpcAttribute)

Subscribes the `attribute` of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(int nodeId, OpcAttribute attribute)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As Integer,
    attribute As OpcAttribute) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node to subscribe. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the subscription. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(uint, OpcAttribute)

Subscribes the `attribute` of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(uint nodeId, OpcAttribute attribute)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As UInteger,
    attribute As OpcAttribute) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [UInt32](https://learn.microsoft.com/dotnet/api/system.uint32) | The numeric node identifier of the node to subscribe. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the subscription. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(string, OpcAttribute)

Subscribes the `attribute` of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(string nodeId, OpcAttribute attribute)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As String,
    attribute As OpcAttribute) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node to subscribe. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the subscription. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(byte\[\], int)

Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId` and `namespaceIndex` specified to operate on the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute.

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

```csharp
public OpcSubscription SubscribeNode(byte[] nodeId, int namespaceIndex)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As Byte(),
    namespaceIndex As Integer) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Byte](https://learn.microsoft.com/dotnet/api/system.byte)[] | The opaque node identifier of the node to subscribe. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(Guid, int)

Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId` and `namespaceIndex` specified to operate on the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute.

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

```csharp
public OpcSubscription SubscribeNode(Guid nodeId, int namespaceIndex)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As Guid,
    namespaceIndex As Integer) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Guid](https://learn.microsoft.com/dotnet/api/system.guid) | The general unique identifier (= GUID) of the node to subscribe. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(int, int)

Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId` and `namespaceIndex` specified to operate on the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute.

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

```csharp
public OpcSubscription SubscribeNode(int nodeId, int namespaceIndex)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As Integer,
    namespaceIndex As Integer) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node to subscribe. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(uint, int)

Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId` and `namespaceIndex` specified to operate on the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute.

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

```csharp
public OpcSubscription SubscribeNode(uint nodeId, int namespaceIndex)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As UInteger,
    namespaceIndex As Integer) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [UInt32](https://learn.microsoft.com/dotnet/api/system.uint32) | The numeric node identifier of the node to subscribe. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(string, int)

Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId` and `namespaceIndex` specified to operate on the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute.

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

```csharp
public OpcSubscription SubscribeNode(string nodeId, int namespaceIndex)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As String,
    namespaceIndex As Integer) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node to subscribe. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(byte\[\], int, OpcAttribute)

Subscribes the `attribute` of the node specified by `nodeId` and `namespaceIndex` specified to operate on the `attribute`.

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

```csharp
public OpcSubscription SubscribeNode(
    byte[] nodeId,
    int namespaceIndex,
    OpcAttribute attribute)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As Byte(),
    namespaceIndex As Integer,
    attribute As OpcAttribute) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Byte](https://learn.microsoft.com/dotnet/api/system.byte)[] | The opaque node identifier of the node to subscribe. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the subscription. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(Guid, int, OpcAttribute)

Subscribes the `attribute` of the node specified by `nodeId` and `namespaceIndex` specified to operate on the `attribute`.

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

```csharp
public OpcSubscription SubscribeNode(
    Guid nodeId,
    int namespaceIndex,
    OpcAttribute attribute)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As Guid,
    namespaceIndex As Integer,
    attribute As OpcAttribute) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Guid](https://learn.microsoft.com/dotnet/api/system.guid) | The general unique identifier (= GUID) of the node to subscribe. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the subscription. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(int, int, OpcAttribute)

Subscribes the `attribute` of the node specified by `nodeId` and `namespaceIndex` specified to operate on the `attribute`.

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

```csharp
public OpcSubscription SubscribeNode(
    int nodeId,
    int namespaceIndex,
    OpcAttribute attribute)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As Integer,
    namespaceIndex As Integer,
    attribute As OpcAttribute) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node to subscribe. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the subscription. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(uint, int, OpcAttribute)

Subscribes the `attribute` of the node specified by `nodeId` and `namespaceIndex` specified to operate on the `attribute`.

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

```csharp
public OpcSubscription SubscribeNode(
    uint nodeId,
    int namespaceIndex,
    OpcAttribute attribute)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As UInteger,
    namespaceIndex As Integer,
    attribute As OpcAttribute) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [UInt32](https://learn.microsoft.com/dotnet/api/system.uint32) | The numeric node identifier of the node to subscribe. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the subscription. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(string, int, OpcAttribute)

Subscribes the `attribute` of the node specified by `nodeId` and `namespaceIndex` specified to operate on the `attribute`.

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

```csharp
public OpcSubscription SubscribeNode(
    string nodeId,
    int namespaceIndex,
    OpcAttribute attribute)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As String,
    namespaceIndex As Integer,
    attribute As OpcAttribute) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node to subscribe. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the subscription. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(byte\[\], OpcMonitoringFilter)

Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(byte[] nodeId, OpcMonitoringFilter filter)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As Byte(),
    filter As OpcMonitoringFilter) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Byte](https://learn.microsoft.com/dotnet/api/system.byte)[] | The opaque node identifier of the node to subscribe. |
| `filter` | [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) | The [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(Guid, OpcMonitoringFilter)

Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(Guid nodeId, OpcMonitoringFilter filter)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As Guid,
    filter As OpcMonitoringFilter) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Guid](https://learn.microsoft.com/dotnet/api/system.guid) | The general unique identifier (= GUID) of the node to subscribe. |
| `filter` | [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) | The [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(int, OpcMonitoringFilter)

Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(int nodeId, OpcMonitoringFilter filter)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As Integer,
    filter As OpcMonitoringFilter) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node to subscribe. |
| `filter` | [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) | The [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(uint, OpcMonitoringFilter)

Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(uint nodeId, OpcMonitoringFilter filter)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As UInteger,
    filter As OpcMonitoringFilter) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [UInt32](https://learn.microsoft.com/dotnet/api/system.uint32) | The numeric node identifier of the node to subscribe. |
| `filter` | [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) | The [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(string, OpcMonitoringFilter)

Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(string nodeId, OpcMonitoringFilter filter)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As String,
    filter As OpcMonitoringFilter) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node to subscribe. |
| `filter` | [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) | The [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(byte\[\], int, OpcMonitoringFilter)

Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId` and `namespaceIndex` specified.

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

```csharp
public OpcSubscription SubscribeNode(
    byte[] nodeId,
    int namespaceIndex,
    OpcMonitoringFilter filter)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As Byte(),
    namespaceIndex As Integer,
    filter As OpcMonitoringFilter) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Byte](https://learn.microsoft.com/dotnet/api/system.byte)[] | The opaque node identifier of the node to subscribe. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `filter` | [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) | The [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(Guid, int, OpcMonitoringFilter)

Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId` and `namespaceIndex` specified.

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

```csharp
public OpcSubscription SubscribeNode(
    Guid nodeId,
    int namespaceIndex,
    OpcMonitoringFilter filter)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As Guid,
    namespaceIndex As Integer,
    filter As OpcMonitoringFilter) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Guid](https://learn.microsoft.com/dotnet/api/system.guid) | The general unique identifier (= GUID) of the node to subscribe. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `filter` | [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) | The [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(int, int, OpcMonitoringFilter)

Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId` and `namespaceIndex` specified.

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

```csharp
public OpcSubscription SubscribeNode(
    int nodeId,
    int namespaceIndex,
    OpcMonitoringFilter filter)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As Integer,
    namespaceIndex As Integer,
    filter As OpcMonitoringFilter) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node to subscribe. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `filter` | [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) | The [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(uint, int, OpcMonitoringFilter)

Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId` and `namespaceIndex` specified.

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

```csharp
public OpcSubscription SubscribeNode(
    uint nodeId,
    int namespaceIndex,
    OpcMonitoringFilter filter)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As UInteger,
    namespaceIndex As Integer,
    filter As OpcMonitoringFilter) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [UInt32](https://learn.microsoft.com/dotnet/api/system.uint32) | The numeric node identifier of the node to subscribe. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `filter` | [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) | The [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(string, int, OpcMonitoringFilter)

Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId` and `namespaceIndex` specified.

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

```csharp
public OpcSubscription SubscribeNode(
    string nodeId,
    int namespaceIndex,
    OpcMonitoringFilter filter)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As String,
    namespaceIndex As Integer,
    filter As OpcMonitoringFilter) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node to subscribe. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `filter` | [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) | The [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(byte\[\], OpcAttribute, OpcMonitoringFilter)

Subscribes the `attribute` of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(
    byte[] nodeId,
    OpcAttribute attribute,
    OpcMonitoringFilter filter)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As Byte(),
    attribute As OpcAttribute,
    filter As OpcMonitoringFilter) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Byte](https://learn.microsoft.com/dotnet/api/system.byte)[] | The opaque node identifier of the node to subscribe. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the subscription. |
| `filter` | [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) | The [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(Guid, OpcAttribute, OpcMonitoringFilter)

Subscribes the `attribute` of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(
    Guid nodeId,
    OpcAttribute attribute,
    OpcMonitoringFilter filter)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As Guid,
    attribute As OpcAttribute,
    filter As OpcMonitoringFilter) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Guid](https://learn.microsoft.com/dotnet/api/system.guid) | The general unique identifier (= GUID) of the node to subscribe. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the subscription. |
| `filter` | [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) | The [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(int, OpcAttribute, OpcMonitoringFilter)

Subscribes the `attribute` of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(
    int nodeId,
    OpcAttribute attribute,
    OpcMonitoringFilter filter)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As Integer,
    attribute As OpcAttribute,
    filter As OpcMonitoringFilter) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node to subscribe. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the subscription. |
| `filter` | [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) | The [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(uint, OpcAttribute, OpcMonitoringFilter)

Subscribes the `attribute` of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(
    uint nodeId,
    OpcAttribute attribute,
    OpcMonitoringFilter filter)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As UInteger,
    attribute As OpcAttribute,
    filter As OpcMonitoringFilter) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [UInt32](https://learn.microsoft.com/dotnet/api/system.uint32) | The numeric node identifier of the node to subscribe. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the subscription. |
| `filter` | [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) | The [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(string, OpcAttribute, OpcMonitoringFilter)

Subscribes the `attribute` of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(
    string nodeId,
    OpcAttribute attribute,
    OpcMonitoringFilter filter)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As String,
    attribute As OpcAttribute,
    filter As OpcMonitoringFilter) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node to subscribe. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the subscription. |
| `filter` | [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) | The [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(byte\[\], int, OpcAttribute, OpcMonitoringFilter)

Subscribes the `attribute` of the node specified by `nodeId` and `namespaceIndex` specified.

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

```csharp
public OpcSubscription SubscribeNode(
    byte[] nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcMonitoringFilter filter)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As Byte(),
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    filter As OpcMonitoringFilter) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Byte](https://learn.microsoft.com/dotnet/api/system.byte)[] | The opaque node identifier of the node to subscribe. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the subscription. |
| `filter` | [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) | The [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(Guid, int, OpcAttribute, OpcMonitoringFilter)

Subscribes the `attribute` of the node specified by `nodeId` and `namespaceIndex` specified.

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

```csharp
public OpcSubscription SubscribeNode(
    Guid nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcMonitoringFilter filter)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As Guid,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    filter As OpcMonitoringFilter) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Guid](https://learn.microsoft.com/dotnet/api/system.guid) | The general unique identifier (= GUID) of the node to subscribe. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the subscription. |
| `filter` | [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) | The [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(int, int, OpcAttribute, OpcMonitoringFilter)

Subscribes the `attribute` of the node specified by `nodeId` and `namespaceIndex` specified.

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

```csharp
public OpcSubscription SubscribeNode(
    int nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcMonitoringFilter filter)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As Integer,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    filter As OpcMonitoringFilter) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node to subscribe. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the subscription. |
| `filter` | [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) | The [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(uint, int, OpcAttribute, OpcMonitoringFilter)

Subscribes the `attribute` of the node specified by `nodeId` and `namespaceIndex` specified.

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

```csharp
public OpcSubscription SubscribeNode(
    uint nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcMonitoringFilter filter)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As UInteger,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    filter As OpcMonitoringFilter) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [UInt32](https://learn.microsoft.com/dotnet/api/system.uint32) | The numeric node identifier of the node to subscribe. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the subscription. |
| `filter` | [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) | The [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(string, int, OpcAttribute, OpcMonitoringFilter)

Subscribes the `attribute` of the node specified by `nodeId` and `namespaceIndex` specified.

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

```csharp
public OpcSubscription SubscribeNode(
    string nodeId,
    int namespaceIndex,
    OpcAttribute attribute,
    OpcMonitoringFilter filter)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As String,
    namespaceIndex As Integer,
    attribute As OpcAttribute,
    filter As OpcMonitoringFilter) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node to subscribe. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the subscription. |
| `filter` | [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) | The [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is empty. |

## SubscribeNode(OpcNodeId)

Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(OpcNodeId nodeId)
```

</div>

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

```vbnet
Public Function SubscribeNode(nodeId As OpcNodeId) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of the node on which the service, who will execute this command, will operate on its [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

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

## SubscribeNode(OpcNodeId, OpcAttribute)

Subscribes the `attribute` of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(OpcNodeId nodeId, OpcAttribute attribute)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As OpcNodeId,
    attribute As OpcAttribute) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of the node on which the service, who will execute this command, will operate on its `attribute`. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the subscription. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

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

## SubscribeNode(OpcNodeId, OpcMonitoringFilter)

Subscribes the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(
    OpcNodeId nodeId,
    OpcMonitoringFilter filter)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As OpcNodeId,
    filter As OpcMonitoringFilter) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of the node on which the service, who will execute this command, will operate on its [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute. |
| `filter` | [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) | The [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

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

## SubscribeNode(OpcNodeId, OpcAttribute, OpcMonitoringFilter)

Subscribes the `attribute` of the node specified by `nodeId`.

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

```csharp
public OpcSubscription SubscribeNode(
    OpcNodeId nodeId,
    OpcAttribute attribute,
    OpcMonitoringFilter filter)
```

</div>

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

```vbnet
Public Function SubscribeNode(
    nodeId As OpcNodeId,
    attribute As OpcAttribute,
    filter As OpcMonitoringFilter) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of the node on which the service, who will execute this command, will operate on its `attribute`. |
| `attribute` | [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) | One of the members defined by the [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) enumeration that defines which node attribute is to be used by the subscription. |
| `filter` | [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) | The [OpcMonitoringFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcmonitoringfilter/) to be used by the server's subscription to - which the monitored item belongs - to filter the monitored data before it is reported to the client, which owns the monitored item. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to this method.

**Exceptions**

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

## SubscribeNode(OpcSubscribeNode)

Creates a [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) using the [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup defined by the `command` specified.

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

```csharp
public OpcSubscription SubscribeNode(OpcSubscribeNode command)
```

</div>

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

```vbnet
Public Function SubscribeNode(command As OpcSubscribeNode) As OpcSubscription
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `command` | [OpcSubscribeNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribenode/) | A [OpcSubscribeNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribenode/) command which is used to define the [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) used by the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) created. |

**Returns**

[OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/)

A new instance of the [OpcSubscription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscription/) class with a single [OpcMonitoredItem](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcmonitoreditem/) setup with the information specified. The kind of monitored item and how it is used by the subscription depends on the number, type and values passed to the `command`.

**Exceptions**

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