# OpcSubscribeNode Class

<dl class="api-definition">
<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">OpcSubscribeNode Members</a></dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Represents a single OPC UA service command which addresses the 'CreateSubscription' service to define a single monitored item of a subscription using the setup represented.

## Syntax

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

```csharp
public class OpcSubscribeNode : OpcNodeAttributeServiceCommand
```

</div>

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

```vbnet
Public Class OpcSubscribeNode
    Inherits OpcNodeAttributeServiceCommand
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → [OpcServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcservicecommand/) → [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) → [OpcNodeAttributeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeattributeservicecommand/) → **OpcSubscribeNode**

## Derived types

- [OpcSubscribeDataChange](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribedatachange/)
- [OpcSubscribeEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribeevent/)

## Constructors

| Name | Description |
|---|---|
| [OpcSubscribeNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribenode/members#opcsubscribenode)<span class="api-meta">44 overloads</span> | Initializes a new instance of the OpcSubscribeNode class using the `nodeId` specified to operate on the [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute. |

## Properties

| Name | Description |
|---|---|
| [Filter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcsubscribenode/members#filter) | Gets 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 described by this OpcSubscribeNode command. |

Inherits members from [OpcNodeAttributeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeattributeservicecommand/members), [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/members), [OpcServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcservicecommand/members).

## Applies to

| Package | Versions |
|---|---|
| Opc.UaFx.Advanced | v2.5–v2.59 |
