# OpcMonitoredItem Class

> Reference: Provides information about a node and its attribute being monitored by a dedicated OpcSession.

<dl class="api-definition">
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx.server">Opc.UaFx.Server</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">OpcMonitoredItem Members</a></dd>
</dl>

Provides information about a node and its attribute being monitored by a dedicated [OpcSession](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcsession/).

## Syntax

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

```csharp
public class OpcMonitoredItem
```

</div>

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

```vbnet
Public Class OpcMonitoredItem
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → **OpcMonitoredItem**

## Remarks

The node its attribute is observed can be determined by the [NodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcmonitoreditem/members#nodeid).

## Properties

| Name | Description |
|---|---|
| [Attribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcmonitoreditem/members#attribute) | Gets a value indicating which [OpcAttribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/) is monitored. |
| [Filter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcmonitoreditem/members#filter) | Gets the filter used to restrict the information observed and published to the client which owns the [Session](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcmonitoreditem/members#session). |
| [IsMonitoringEnabled](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcmonitoreditem/members#ismonitoringenabled) | Gets a value indicating whether the [Attribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcmonitoreditem/members#attribute) of the node identified by [NodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcmonitoreditem/members#nodeid) is being observed. |
| [Mode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcmonitoreditem/members#mode) | Gets a value which specifies how the monitoring of the [Attribute](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcmonitoreditem/members#attribute) of the node identified by [NodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcmonitoreditem/members#nodeid) is observed. |
| [NodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcmonitoreditem/members#nodeid) | Gets the node identifier of the [IOpcNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.iopcnode/) being monitored. |
| [QueueSize](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcmonitoreditem/members#queuesize) | Gets the upper limit of the queue used to store observation results. |
| [SamplingInterval](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcmonitoreditem/members#samplinginterval) | Gets a value indicating the interval used to sample the value of the attribute of the node in milliseconds. |
| [Session](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcmonitoreditem/members#session) | Gets the session which owns this OpcMonitoredItem. |

## Applies to

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