# OpcNotification Class

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

Represents a notification message a client received for a subscription, as defined by the NotificationMessage of OPC UA.

## Syntax

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

```csharp
public class OpcNotification
```

</div>

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

```vbnet
Public Class OpcNotification
```

</div>

## Inheritance

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

## Properties

| Name | Description |
|---|---|
| [Data](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnotification/members#data) | Gets the data sets of the notification. |
| [PublishTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnotification/members#publishtime) | Gets the time the server sent the notification. |
| [SequenceNumber](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnotification/members#sequencenumber) | Gets the sequence number of the notification. |

## Methods

| Name | Description |
|---|---|
| [GetDataChanges](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnotification/members#getdatachanges) | Retrieves the data changes of all [OpcDataChangeDataSet](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatachangedataset/) instances of the notification. |
| [GetEvents](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnotification/members#getevents) | Retrieves the events of all [OpcEventDataSet](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventdataset/) instances of the notification. |

## Applies to

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