# OpcClient.ReadEventsHistory Method

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

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

| Overload | Description |
|---|---|
| [ReadEventsHistory(IEnumerable&lt;OpcNodeId&gt;, OpcReadEventHistoryDetails)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventshistory#readeventshistory-system-collections-generic-ienumerable-of-opc-uafx-opcnodeid-opc-uafx-opcreadeventhistorydetails)<span class="api-meta">since v2.54</span> |  |
| [ReadEventsHistory(int, OpcEventFilter, IEnumerable&lt;OpcNodeId&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventshistory#readeventshistory-system-int32-opc-uafx-opceventfilter-system-collections-generic-ienumerable-of-opc-uafx-opcnodeid)<span class="api-meta">since v2.54</span> |  |
| [ReadEventsHistory(DateTime?, int, OpcEventFilter, IEnumerable&lt;OpcNodeId&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventshistory#readeventshistory-system-nullable-of-system-datetime-system-int32-opc-uafx-opceventfilter-system-collections-generic-ienumerable-of-opc-uafx-opcnodeid)<span class="api-meta">since v2.54</span> |  |
| [ReadEventsHistory(DateTime?, DateTime?, int, OpcEventFilter, IEnumerable&lt;OpcNodeId&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventshistory#readeventshistory-system-nullable-of-system-datetime-system-nullable-of-system-datetime-system-int32-opc-uafx-opceventfilter-system-collections-generic-ienumerable-of-opc-uafx-opcnodeid)<span class="api-meta">since v2.54</span> |  |
| [ReadEventsHistory(DateTime?, DateTime?, OpcEventFilter, IEnumerable&lt;OpcNodeId&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventshistory#readeventshistory-system-nullable-of-system-datetime-system-nullable-of-system-datetime-opc-uafx-opceventfilter-system-collections-generic-ienumerable-of-opc-uafx-opcnodeid)<span class="api-meta">since v2.54</span> |  |
| [ReadEventsHistory(int, OpcEventFilter, params OpcNodeId\[\])](#readeventshistory-system-int32-opc-uafx-opceventfilter-opc-uafx-opcnodeid-array)<span class="api-meta">since v2.54</span> |  |
| [ReadEventsHistory(DateTime?, int, OpcEventFilter, params OpcNodeId\[\])](#readeventshistory-system-nullable-of-system-datetime-system-int32-opc-uafx-opceventfilter-opc-uafx-opcnodeid-array)<span class="api-meta">since v2.54</span> |  |
| [ReadEventsHistory(DateTime?, DateTime?, int, OpcEventFilter, params OpcNodeId\[\])](#readeventshistory-system-nullable-of-system-datetime-system-nullable-of-system-datetime-system-int32-opc-uafx-opceventfilter-opc-uafx-opcnodeid-array)<span class="api-meta">since v2.54</span> |  |
| [ReadEventsHistory(DateTime?, DateTime?, OpcEventFilter, params OpcNodeId\[\])](#readeventshistory-system-nullable-of-system-datetime-system-nullable-of-system-datetime-opc-uafx-opceventfilter-opc-uafx-opcnodeid-array)<span class="api-meta">since v2.54</span> |  |
| [ReadEventsHistory(int, OpcEventFilter, IEnumerable&lt;OpcReadEventHistory&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventshistory#readeventshistory-system-int32-opc-uafx-opceventfilter-system-collections-generic-ienumerable-of-opc-uafx-client-opcreadeventhistory)<span class="api-meta">since v2.54</span> |  |
| [ReadEventsHistory(DateTime?, int, OpcEventFilter, IEnumerable&lt;OpcReadEventHistory&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventshistory#readeventshistory-system-nullable-of-system-datetime-system-int32-opc-uafx-opceventfilter-system-collections-generic-ienumerable-of-opc-uafx-client-opcreadeventhistory)<span class="api-meta">since v2.54</span> |  |
| [ReadEventsHistory(DateTime?, DateTime?, int, OpcEventFilter, IEnumerable&lt;OpcReadEventHistory&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventshistory#readeventshistory-system-nullable-of-system-datetime-system-nullable-of-system-datetime-system-int32-opc-uafx-opceventfilter-system-collections-generic-ienumerable-of-opc-uafx-client-opcreadeventhistory)<span class="api-meta">since v2.54</span> |  |
| [ReadEventsHistory(DateTime?, DateTime?, OpcEventFilter, IEnumerable&lt;OpcReadEventHistory&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventshistory#readeventshistory-system-nullable-of-system-datetime-system-nullable-of-system-datetime-opc-uafx-opceventfilter-system-collections-generic-ienumerable-of-opc-uafx-client-opcreadeventhistory)<span class="api-meta">since v2.54</span> |  |
| [ReadEventsHistory(int, OpcEventFilter, params OpcReadEventHistory\[\])](#readeventshistory-system-int32-opc-uafx-opceventfilter-opc-uafx-client-opcreadeventhistory-array)<span class="api-meta">since v2.54</span> |  |
| [ReadEventsHistory(DateTime?, int, OpcEventFilter, params OpcReadEventHistory\[\])](#readeventshistory-system-nullable-of-system-datetime-system-int32-opc-uafx-opceventfilter-opc-uafx-client-opcreadeventhistory-array)<span class="api-meta">since v2.54</span> |  |
| [ReadEventsHistory(DateTime?, DateTime?, int, OpcEventFilter, params OpcReadEventHistory\[\])](#readeventshistory-system-nullable-of-system-datetime-system-nullable-of-system-datetime-system-int32-opc-uafx-opceventfilter-opc-uafx-client-opcreadeventhistory-array)<span class="api-meta">since v2.54</span> |  |
| [ReadEventsHistory(DateTime?, DateTime?, OpcEventFilter, params OpcReadEventHistory\[\])](#readeventshistory-system-nullable-of-system-datetime-system-nullable-of-system-datetime-opc-uafx-opceventfilter-opc-uafx-client-opcreadeventhistory-array)<span class="api-meta">since v2.54</span> |  |

**Exceptions (all overloads)**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) |  |
| [InvalidOperationException](https://learn.microsoft.com/dotnet/api/system.invalidoperationexception) |  |
| [OpcException](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcexception/) |  |
| [ObjectDisposedException](https://learn.microsoft.com/dotnet/api/system.objectdisposedexception) |  |

## ReadEventsHistory(IEnumerable&lt;OpcNodeId&gt;, OpcReadEventHistoryDetails)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventsHistory(
    IEnumerable<OpcNodeId> nodeIds,
    OpcReadEventHistoryDetails details)
```

</div>

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

```vbnet
Public Function ReadEventsHistory(
    nodeIds As IEnumerable(Of OpcNodeId),
    details As OpcReadEventHistoryDetails) As IOpcEventHistoryNavigator(Of OpcEvent)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeIds` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)&gt; |  |
| `details` | [OpcReadEventHistoryDetails](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadeventhistorydetails/) |  |

**Returns**

[IOpcEventHistoryNavigator](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.iopceventhistorynavigator-1/)&lt;[OpcEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcevent/)&gt;

## ReadEventsHistory(int, OpcEventFilter, IEnumerable&lt;OpcNodeId&gt;)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventsHistory(
    int numberOfEvents,
    OpcEventFilter filter,
    IEnumerable<OpcNodeId> nodeIds)
```

</div>

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

```vbnet
Public Function ReadEventsHistory(
    numberOfEvents As Integer,
    filter As OpcEventFilter,
    nodeIds As IEnumerable(Of OpcNodeId)) As IOpcEventHistoryNavigator(Of OpcEvent)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `numberOfEvents` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) |  |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) |  |
| `nodeIds` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)&gt; |  |

**Returns**

[IOpcEventHistoryNavigator](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.iopceventhistorynavigator-1/)&lt;[OpcEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcevent/)&gt;

## ReadEventsHistory(DateTime?, int, OpcEventFilter, IEnumerable&lt;OpcNodeId&gt;)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventsHistory(
    DateTime? startTime,
    int numberOfEvents,
    OpcEventFilter filter,
    IEnumerable<OpcNodeId> nodeIds)
```

</div>

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

```vbnet
Public Function ReadEventsHistory(
    startTime As Date?,
    numberOfEvents As Integer,
    filter As OpcEventFilter,
    nodeIds As IEnumerable(Of OpcNodeId)) As IOpcEventHistoryNavigator(Of OpcEvent)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `startTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; |  |
| `numberOfEvents` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) |  |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) |  |
| `nodeIds` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)&gt; |  |

**Returns**

[IOpcEventHistoryNavigator](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.iopceventhistorynavigator-1/)&lt;[OpcEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcevent/)&gt;

## ReadEventsHistory(DateTime?, DateTime?, int, OpcEventFilter, IEnumerable&lt;OpcNodeId&gt;)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventsHistory(
    DateTime? startTime,
    DateTime? endTime,
    int numberOfEvents,
    OpcEventFilter filter,
    IEnumerable<OpcNodeId> nodeIds)
```

</div>

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

```vbnet
Public Function ReadEventsHistory(
    startTime As Date?,
    endTime As Date?,
    numberOfEvents As Integer,
    filter As OpcEventFilter,
    nodeIds As IEnumerable(Of OpcNodeId)) As IOpcEventHistoryNavigator(Of OpcEvent)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `startTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; |  |
| `endTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; |  |
| `numberOfEvents` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) |  |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) |  |
| `nodeIds` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)&gt; |  |

**Returns**

[IOpcEventHistoryNavigator](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.iopceventhistorynavigator-1/)&lt;[OpcEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcevent/)&gt;

## ReadEventsHistory(DateTime?, DateTime?, OpcEventFilter, IEnumerable&lt;OpcNodeId&gt;)

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

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

```csharp
public IDictionary<OpcNodeId, IEnumerable<OpcEvent>> ReadEventsHistory(
    DateTime? startTime,
    DateTime? endTime,
    OpcEventFilter filter,
    IEnumerable<OpcNodeId> nodeIds)
```

</div>

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

```vbnet
Public Function ReadEventsHistory(
    startTime As Date?,
    endTime As Date?,
    filter As OpcEventFilter,
    nodeIds As IEnumerable(Of OpcNodeId)) As IDictionary(Of OpcNodeId, IEnumerable(Of OpcEvent))
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `startTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; |  |
| `endTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; |  |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) |  |
| `nodeIds` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)&gt; |  |

**Returns**

[IDictionary](https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcevent/)&gt;&gt;

## ReadEventsHistory(int, OpcEventFilter, params OpcNodeId\[\])

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventsHistory(
    int numberOfEvents,
    OpcEventFilter filter,
    params OpcNodeId[] nodeIds)
```

</div>

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

```vbnet
Public Function ReadEventsHistory(
    numberOfEvents As Integer,
    filter As OpcEventFilter,
    ParamArray nodeIds As OpcNodeId()) As IOpcEventHistoryNavigator(Of OpcEvent)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `numberOfEvents` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) |  |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) |  |
| `nodeIds` | params [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)[] |  |

**Returns**

[IOpcEventHistoryNavigator](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.iopceventhistorynavigator-1/)&lt;[OpcEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcevent/)&gt;

## ReadEventsHistory(DateTime?, int, OpcEventFilter, params OpcNodeId\[\])

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventsHistory(
    DateTime? startTime,
    int numberOfEvents,
    OpcEventFilter filter,
    params OpcNodeId[] nodeIds)
```

</div>

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

```vbnet
Public Function ReadEventsHistory(
    startTime As Date?,
    numberOfEvents As Integer,
    filter As OpcEventFilter,
    ParamArray nodeIds As OpcNodeId()) As IOpcEventHistoryNavigator(Of OpcEvent)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `startTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; |  |
| `numberOfEvents` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) |  |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) |  |
| `nodeIds` | params [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)[] |  |

**Returns**

[IOpcEventHistoryNavigator](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.iopceventhistorynavigator-1/)&lt;[OpcEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcevent/)&gt;

## ReadEventsHistory(DateTime?, DateTime?, int, OpcEventFilter, params OpcNodeId\[\])

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventsHistory(
    DateTime? startTime,
    DateTime? endTime,
    int numberOfEvents,
    OpcEventFilter filter,
    params OpcNodeId[] nodeIds)
```

</div>

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

```vbnet
Public Function ReadEventsHistory(
    startTime As Date?,
    endTime As Date?,
    numberOfEvents As Integer,
    filter As OpcEventFilter,
    ParamArray nodeIds As OpcNodeId()) As IOpcEventHistoryNavigator(Of OpcEvent)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `startTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; |  |
| `endTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; |  |
| `numberOfEvents` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) |  |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) |  |
| `nodeIds` | params [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)[] |  |

**Returns**

[IOpcEventHistoryNavigator](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.iopceventhistorynavigator-1/)&lt;[OpcEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcevent/)&gt;

## ReadEventsHistory(DateTime?, DateTime?, OpcEventFilter, params OpcNodeId\[\])

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

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

```csharp
public IDictionary<OpcNodeId, IEnumerable<OpcEvent>> ReadEventsHistory(
    DateTime? startTime,
    DateTime? endTime,
    OpcEventFilter filter,
    params OpcNodeId[] nodeIds)
```

</div>

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

```vbnet
Public Function ReadEventsHistory(
    startTime As Date?,
    endTime As Date?,
    filter As OpcEventFilter,
    ParamArray nodeIds As OpcNodeId()) As IDictionary(Of OpcNodeId, IEnumerable(Of OpcEvent))
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `startTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; |  |
| `endTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; |  |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) |  |
| `nodeIds` | params [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)[] |  |

**Returns**

[IDictionary](https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcevent/)&gt;&gt;

## ReadEventsHistory(int, OpcEventFilter, IEnumerable&lt;OpcReadEventHistory&gt;)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventsHistory(
    int numberOfEvents,
    OpcEventFilter filter,
    IEnumerable<OpcReadEventHistory> commands)
```

</div>

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

```vbnet
Public Function ReadEventsHistory(
    numberOfEvents As Integer,
    filter As OpcEventFilter,
    commands As IEnumerable(Of OpcReadEventHistory)) As IOpcEventHistoryNavigator(Of OpcEvent)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `numberOfEvents` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) |  |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) |  |
| `commands` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcReadEventHistory](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcreadeventhistory/)&gt; |  |

**Returns**

[IOpcEventHistoryNavigator](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.iopceventhistorynavigator-1/)&lt;[OpcEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcevent/)&gt;

## ReadEventsHistory(DateTime?, int, OpcEventFilter, IEnumerable&lt;OpcReadEventHistory&gt;)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventsHistory(
    DateTime? startTime,
    int numberOfEvents,
    OpcEventFilter filter,
    IEnumerable<OpcReadEventHistory> commands)
```

</div>

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

```vbnet
Public Function ReadEventsHistory(
    startTime As Date?,
    numberOfEvents As Integer,
    filter As OpcEventFilter,
    commands As IEnumerable(Of OpcReadEventHistory)) As IOpcEventHistoryNavigator(Of OpcEvent)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `startTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; |  |
| `numberOfEvents` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) |  |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) |  |
| `commands` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcReadEventHistory](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcreadeventhistory/)&gt; |  |

**Returns**

[IOpcEventHistoryNavigator](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.iopceventhistorynavigator-1/)&lt;[OpcEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcevent/)&gt;

## ReadEventsHistory(DateTime?, DateTime?, int, OpcEventFilter, IEnumerable&lt;OpcReadEventHistory&gt;)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventsHistory(
    DateTime? startTime,
    DateTime? endTime,
    int numberOfEvents,
    OpcEventFilter filter,
    IEnumerable<OpcReadEventHistory> commands)
```

</div>

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

```vbnet
Public Function ReadEventsHistory(
    startTime As Date?,
    endTime As Date?,
    numberOfEvents As Integer,
    filter As OpcEventFilter,
    commands As IEnumerable(Of OpcReadEventHistory)) As IOpcEventHistoryNavigator(Of OpcEvent)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `startTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; |  |
| `endTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; |  |
| `numberOfEvents` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) |  |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) |  |
| `commands` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcReadEventHistory](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcreadeventhistory/)&gt; |  |

**Returns**

[IOpcEventHistoryNavigator](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.iopceventhistorynavigator-1/)&lt;[OpcEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcevent/)&gt;

## ReadEventsHistory(DateTime?, DateTime?, OpcEventFilter, IEnumerable&lt;OpcReadEventHistory&gt;)

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

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

```csharp
public IDictionary<OpcNodeId, IEnumerable<OpcEvent>> ReadEventsHistory(
    DateTime? startTime,
    DateTime? endTime,
    OpcEventFilter filter,
    IEnumerable<OpcReadEventHistory> commands)
```

</div>

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

```vbnet
Public Function ReadEventsHistory(
    startTime As Date?,
    endTime As Date?,
    filter As OpcEventFilter,
    commands As IEnumerable(Of OpcReadEventHistory)) As IDictionary(Of OpcNodeId, IEnumerable(Of OpcEvent))
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `startTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; |  |
| `endTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; |  |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) |  |
| `commands` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcReadEventHistory](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcreadeventhistory/)&gt; |  |

**Returns**

[IDictionary](https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcevent/)&gt;&gt;

## ReadEventsHistory(int, OpcEventFilter, params OpcReadEventHistory\[\])

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventsHistory(
    int numberOfEvents,
    OpcEventFilter filter,
    params OpcReadEventHistory[] commands)
```

</div>

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

```vbnet
Public Function ReadEventsHistory(
    numberOfEvents As Integer,
    filter As OpcEventFilter,
    ParamArray commands As OpcReadEventHistory()) As IOpcEventHistoryNavigator(Of OpcEvent)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `numberOfEvents` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) |  |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) |  |
| `commands` | params [OpcReadEventHistory](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcreadeventhistory/)[] |  |

**Returns**

[IOpcEventHistoryNavigator](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.iopceventhistorynavigator-1/)&lt;[OpcEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcevent/)&gt;

## ReadEventsHistory(DateTime?, int, OpcEventFilter, params OpcReadEventHistory\[\])

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventsHistory(
    DateTime? startTime,
    int numberOfEvents,
    OpcEventFilter filter,
    params OpcReadEventHistory[] commands)
```

</div>

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

```vbnet
Public Function ReadEventsHistory(
    startTime As Date?,
    numberOfEvents As Integer,
    filter As OpcEventFilter,
    ParamArray commands As OpcReadEventHistory()) As IOpcEventHistoryNavigator(Of OpcEvent)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `startTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; |  |
| `numberOfEvents` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) |  |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) |  |
| `commands` | params [OpcReadEventHistory](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcreadeventhistory/)[] |  |

**Returns**

[IOpcEventHistoryNavigator](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.iopceventhistorynavigator-1/)&lt;[OpcEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcevent/)&gt;

## ReadEventsHistory(DateTime?, DateTime?, int, OpcEventFilter, params OpcReadEventHistory\[\])

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventsHistory(
    DateTime? startTime,
    DateTime? endTime,
    int numberOfEvents,
    OpcEventFilter filter,
    params OpcReadEventHistory[] commands)
```

</div>

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

```vbnet
Public Function ReadEventsHistory(
    startTime As Date?,
    endTime As Date?,
    numberOfEvents As Integer,
    filter As OpcEventFilter,
    ParamArray commands As OpcReadEventHistory()) As IOpcEventHistoryNavigator(Of OpcEvent)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `startTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; |  |
| `endTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; |  |
| `numberOfEvents` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) |  |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) |  |
| `commands` | params [OpcReadEventHistory](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcreadeventhistory/)[] |  |

**Returns**

[IOpcEventHistoryNavigator](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.iopceventhistorynavigator-1/)&lt;[OpcEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcevent/)&gt;

## ReadEventsHistory(DateTime?, DateTime?, OpcEventFilter, params OpcReadEventHistory\[\])

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

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

```csharp
public IDictionary<OpcNodeId, IEnumerable<OpcEvent>> ReadEventsHistory(
    DateTime? startTime,
    DateTime? endTime,
    OpcEventFilter filter,
    params OpcReadEventHistory[] commands)
```

</div>

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

```vbnet
Public Function ReadEventsHistory(
    startTime As Date?,
    endTime As Date?,
    filter As OpcEventFilter,
    ParamArray commands As OpcReadEventHistory()) As IDictionary(Of OpcNodeId, IEnumerable(Of OpcEvent))
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `startTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; |  |
| `endTime` | [Nullable](https://learn.microsoft.com/dotnet/api/system.nullable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; |  |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) |  |
| `commands` | params [OpcReadEventHistory](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcreadeventhistory/)[] |  |

**Returns**

[IDictionary](https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2)&lt;[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[OpcEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcevent/)&gt;&gt;
