# OpcReadEventHistory Class

> Reference: Represents a command which defines a node whose event history is to be read using the ReadEventsHistory methods of the OpcClient.

<span class="api-meta">since v2.54</span>

<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">OpcReadEventHistory Members</a></dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Represents a command which defines a node whose event history is to be read using the ReadEventsHistory methods of the [OpcClient](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/).

## Syntax

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

```csharp
public class OpcReadEventHistory : OpcNodeServiceCommand
```

</div>

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

```vbnet
Public Class OpcReadEventHistory
    Inherits OpcNodeServiceCommand
```

</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/) → **OpcReadEventHistory**

## Constructors

| Name | Description |
|---|---|
| [OpcReadEventHistory](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcreadeventhistory/members#opcreadeventhistory)<span class="api-meta">5 overloads</span> | Initializes a new instance of the OpcReadEventHistory class using the `nodeId` specified. |

Inherits members from [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.54–v2.59 |
