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

Defines the time domain, number of events and additional criteria to use to select events from historical database for one or more nodes.

## Syntax

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

```csharp
public class OpcReadEventHistoryDetails
```

</div>

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

```vbnet
Public Class OpcReadEventHistoryDetails
```

</div>

## Inheritance

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

## Constructors

| Name | Description |
|---|---|
| [OpcReadEventHistoryDetails](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadeventhistorydetails/members#opcreadeventhistorydetails)<span class="api-meta">4 overloads · since v2.54</span> | Initializes a new instance of the OpcReadEventHistoryDetails class using the specified `numberOfEvents` to select the historical events. |

## Properties

| Name | Description |
|---|---|
| [EndTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadeventhistorydetails/members#endtime) | Gets or sets the end of the period to read. |
| [Filter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadeventhistorydetails/members#filter) |  |
| [NumberOfEvents](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadeventhistorydetails/members#numberofevents)<span class="api-meta">since v2.54</span> | Gets or sets the maximum number of events returned for any node over the time range. |
| [StartTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadeventhistorydetails/members#starttime) | Gets or sets the beginning of the period to read. |

## Applies to

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