# OpcClient.ReadEventHistory 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">24 overloads · since v2.54</span>

| Overload | Description |
|---|---|
| [ReadEventHistory(OpcNodeId, OpcReadEventHistoryDetails)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-opc-uafx-opcnodeid-opc-uafx-opcreadeventhistorydetails)<span class="api-meta">since v2.54</span> |  |
| [ReadEventHistory(int, OpcNodeId, OpcEventFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-system-int32-opc-uafx-opcnodeid-opc-uafx-opceventfilter)<span class="api-meta">since v2.54</span> |  |
| [ReadEventHistory(DateTime?, int, OpcNodeId, OpcEventFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-system-nullable-of-system-datetime-system-int32-opc-uafx-opcnodeid-opc-uafx-opceventfilter)<span class="api-meta">since v2.54</span> |  |
| [ReadEventHistory(DateTime?, DateTime?, int, OpcNodeId, OpcEventFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-system-nullable-of-system-datetime-system-nullable-of-system-datetime-system-int32-opc-uafx-opcnodeid-opc-uafx-opceventfilter)<span class="api-meta">since v2.54</span> |  |
| [ReadEventHistory(DateTime?, DateTime?, OpcNodeId, OpcEventFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-system-nullable-of-system-datetime-system-nullable-of-system-datetime-opc-uafx-opcnodeid-opc-uafx-opceventfilter)<span class="api-meta">since v2.54</span> |  |
| [ReadEventHistory(int, string, OpcEventFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-system-int32-system-string-opc-uafx-opceventfilter)<span class="api-meta">since v2.54</span> |  |
| [ReadEventHistory(DateTime?, int, string, OpcEventFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-system-nullable-of-system-datetime-system-int32-system-string-opc-uafx-opceventfilter)<span class="api-meta">since v2.54</span> |  |
| [ReadEventHistory(DateTime?, DateTime?, int, string, OpcEventFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-system-nullable-of-system-datetime-system-nullable-of-system-datetime-system-int32-system-string-opc-uafx-opceventfilter)<span class="api-meta">since v2.54</span> |  |
| [ReadEventHistory(DateTime?, DateTime?, string, OpcEventFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-system-nullable-of-system-datetime-system-nullable-of-system-datetime-system-string-opc-uafx-opceventfilter)<span class="api-meta">since v2.54</span> |  |
| [ReadEventHistory(int, int, OpcEventFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-system-int32-system-int32-opc-uafx-opceventfilter)<span class="api-meta">since v2.54</span> |  |
| [ReadEventHistory(DateTime?, int, int, OpcEventFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-system-nullable-of-system-datetime-system-int32-system-int32-opc-uafx-opceventfilter)<span class="api-meta">since v2.54</span> |  |
| [ReadEventHistory(DateTime?, DateTime?, int, int, OpcEventFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-system-nullable-of-system-datetime-system-nullable-of-system-datetime-system-int32-system-int32-opc-uafx-opceventfilter)<span class="api-meta">since v2.54</span> |  |
| [ReadEventHistory(DateTime?, DateTime?, int, OpcEventFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-system-nullable-of-system-datetime-system-nullable-of-system-datetime-system-int32-opc-uafx-opceventfilter)<span class="api-meta">since v2.54</span> |  |
| [ReadEventHistory(int, string, int, OpcEventFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-system-int32-system-string-system-int32-opc-uafx-opceventfilter)<span class="api-meta">since v2.54</span> |  |
| [ReadEventHistory(DateTime?, int, string, int, OpcEventFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-system-nullable-of-system-datetime-system-int32-system-string-system-int32-opc-uafx-opceventfilter)<span class="api-meta">since v2.54</span> |  |
| [ReadEventHistory(DateTime?, DateTime?, int, string, int, OpcEventFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-system-nullable-of-system-datetime-system-nullable-of-system-datetime-system-int32-system-string-system-int32-opc-uafx-opceventfilter)<span class="api-meta">since v2.54</span> |  |
| [ReadEventHistory(DateTime?, DateTime?, string, int, OpcEventFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-system-nullable-of-system-datetime-system-nullable-of-system-datetime-system-string-system-int32-opc-uafx-opceventfilter)<span class="api-meta">since v2.54</span> |  |
| [ReadEventHistory(int, int, int, OpcEventFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-system-int32-system-int32-system-int32-opc-uafx-opceventfilter)<span class="api-meta">since v2.54</span> |  |
| [ReadEventHistory(DateTime?, int, int, int, OpcEventFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-system-nullable-of-system-datetime-system-int32-system-int32-system-int32-opc-uafx-opceventfilter)<span class="api-meta">since v2.54</span> |  |
| [ReadEventHistory(DateTime?, DateTime?, int, int, int, OpcEventFilter)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-system-nullable-of-system-datetime-system-nullable-of-system-datetime-system-int32-system-int32-system-int32-opc-uafx-opceventfilter)<span class="api-meta">since v2.54</span> |  |
| [ReadEventHistory(int, OpcEventFilter, OpcReadEventHistory)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-system-int32-opc-uafx-opceventfilter-opc-uafx-client-opcreadeventhistory)<span class="api-meta">since v2.54</span> |  |
| [ReadEventHistory(DateTime?, int, OpcEventFilter, OpcReadEventHistory)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-system-nullable-of-system-datetime-system-int32-opc-uafx-opceventfilter-opc-uafx-client-opcreadeventhistory)<span class="api-meta">since v2.54</span> |  |
| [ReadEventHistory(DateTime?, DateTime?, int, OpcEventFilter, OpcReadEventHistory)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-system-nullable-of-system-datetime-system-nullable-of-system-datetime-system-int32-opc-uafx-opceventfilter-opc-uafx-client-opcreadeventhistory)<span class="api-meta">since v2.54</span> |  |
| [ReadEventHistory(DateTime?, DateTime?, OpcEventFilter, OpcReadEventHistory)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/readeventhistory#readeventhistory-system-nullable-of-system-datetime-system-nullable-of-system-datetime-opc-uafx-opceventfilter-opc-uafx-client-opcreadeventhistory)<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) |  |

## ReadEventHistory(OpcNodeId, OpcReadEventHistoryDetails)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventHistory(
    OpcNodeId nodeId,
    OpcReadEventHistoryDetails details)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    nodeId As OpcNodeId,
    details As OpcReadEventHistoryDetails) As IOpcEventHistoryNavigator(Of OpcEvent)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) |  |
| `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;

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) |  |

## ReadEventHistory(int, OpcNodeId, OpcEventFilter)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventHistory(
    int numberOfEvents,
    OpcNodeId nodeId,
    OpcEventFilter filter)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    numberOfEvents As Integer,
    nodeId As OpcNodeId,
    filter As OpcEventFilter) As IOpcEventHistoryNavigator(Of OpcEvent)
```

</div>

**Parameters**

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

**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;

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) |  |

## ReadEventHistory(DateTime?, int, OpcNodeId, OpcEventFilter)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventHistory(
    DateTime? startTime,
    int numberOfEvents,
    OpcNodeId nodeId,
    OpcEventFilter filter)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    startTime As Date?,
    numberOfEvents As Integer,
    nodeId As OpcNodeId,
    filter As OpcEventFilter) 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) |  |
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) |  |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) |  |

**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;

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) |  |

## ReadEventHistory(DateTime?, DateTime?, int, OpcNodeId, OpcEventFilter)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventHistory(
    DateTime? startTime,
    DateTime? endTime,
    int numberOfEvents,
    OpcNodeId nodeId,
    OpcEventFilter filter)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    startTime As Date?,
    endTime As Date?,
    numberOfEvents As Integer,
    nodeId As OpcNodeId,
    filter As OpcEventFilter) 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) |  |
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) |  |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) |  |

**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;

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) |  |

## ReadEventHistory(DateTime?, DateTime?, OpcNodeId, OpcEventFilter)

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

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

```csharp
public IEnumerable<OpcEvent> ReadEventHistory(
    DateTime? startTime,
    DateTime? endTime,
    OpcNodeId nodeId,
    OpcEventFilter filter)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    startTime As Date?,
    endTime As Date?,
    nodeId As OpcNodeId,
    filter As OpcEventFilter) As 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; |  |
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) |  |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) |  |

**Returns**

[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;

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) |  |

## ReadEventHistory(int, string, OpcEventFilter)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventHistory(
    int numberOfEvents,
    string nodeId,
    OpcEventFilter filter)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    numberOfEvents As Integer,
    nodeId As String,
    filter As OpcEventFilter) As IOpcEventHistoryNavigator(Of OpcEvent)
```

</div>

**Parameters**

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

**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;

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) |  |

## ReadEventHistory(DateTime?, int, string, OpcEventFilter)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventHistory(
    DateTime? startTime,
    int numberOfEvents,
    string nodeId,
    OpcEventFilter filter)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    startTime As Date?,
    numberOfEvents As Integer,
    nodeId As String,
    filter As OpcEventFilter) 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) |  |
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) |  |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) |  |

**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;

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) |  |

## ReadEventHistory(DateTime?, DateTime?, int, string, OpcEventFilter)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventHistory(
    DateTime? startTime,
    DateTime? endTime,
    int numberOfEvents,
    string nodeId,
    OpcEventFilter filter)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    startTime As Date?,
    endTime As Date?,
    numberOfEvents As Integer,
    nodeId As String,
    filter As OpcEventFilter) 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) |  |
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) |  |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) |  |

**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;

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) |  |

## ReadEventHistory(DateTime?, DateTime?, string, OpcEventFilter)

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

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

```csharp
public IEnumerable<OpcEvent> ReadEventHistory(
    DateTime? startTime,
    DateTime? endTime,
    string nodeId,
    OpcEventFilter filter)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    startTime As Date?,
    endTime As Date?,
    nodeId As String,
    filter As OpcEventFilter) As 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; |  |
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) |  |
| `filter` | [OpcEventFilter](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventfilter/) |  |

**Returns**

[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;

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) |  |

## ReadEventHistory(int, int, OpcEventFilter)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventHistory(
    int numberOfEvents,
    int nodeId,
    OpcEventFilter filter)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    numberOfEvents As Integer,
    nodeId As Integer,
    filter As OpcEventFilter) As IOpcEventHistoryNavigator(Of OpcEvent)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `numberOfEvents` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) |  |
| `nodeId` | [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/) |  |

**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;

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) |  |

## ReadEventHistory(DateTime?, int, int, OpcEventFilter)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventHistory(
    DateTime? startTime,
    int numberOfEvents,
    int nodeId,
    OpcEventFilter filter)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    startTime As Date?,
    numberOfEvents As Integer,
    nodeId As Integer,
    filter As OpcEventFilter) 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) |  |
| `nodeId` | [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/) |  |

**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;

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) |  |

## ReadEventHistory(DateTime?, DateTime?, int, int, OpcEventFilter)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventHistory(
    DateTime? startTime,
    DateTime? endTime,
    int numberOfEvents,
    int nodeId,
    OpcEventFilter filter)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    startTime As Date?,
    endTime As Date?,
    numberOfEvents As Integer,
    nodeId As Integer,
    filter As OpcEventFilter) 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) |  |
| `nodeId` | [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/) |  |

**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;

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) |  |

## ReadEventHistory(DateTime?, DateTime?, int, OpcEventFilter)

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

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

```csharp
public IEnumerable<OpcEvent> ReadEventHistory(
    DateTime? startTime,
    DateTime? endTime,
    int nodeId,
    OpcEventFilter filter)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    startTime As Date?,
    endTime As Date?,
    nodeId As Integer,
    filter As OpcEventFilter) As 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; |  |
| `nodeId` | [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/) |  |

**Returns**

[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;

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) |  |

## ReadEventHistory(int, string, int, OpcEventFilter)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventHistory(
    int numberOfEvents,
    string nodeId,
    int namespaceIndex,
    OpcEventFilter filter)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    numberOfEvents As Integer,
    nodeId As String,
    namespaceIndex As Integer,
    filter As OpcEventFilter) As IOpcEventHistoryNavigator(Of OpcEvent)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `numberOfEvents` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) |  |
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) |  |
| `namespaceIndex` | [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/) |  |

**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;

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) |  |

## ReadEventHistory(DateTime?, int, string, int, OpcEventFilter)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventHistory(
    DateTime? startTime,
    int numberOfEvents,
    string nodeId,
    int namespaceIndex,
    OpcEventFilter filter)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    startTime As Date?,
    numberOfEvents As Integer,
    nodeId As String,
    namespaceIndex As Integer,
    filter As OpcEventFilter) 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) |  |
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) |  |
| `namespaceIndex` | [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/) |  |

**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;

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) |  |

## ReadEventHistory(DateTime?, DateTime?, int, string, int, OpcEventFilter)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventHistory(
    DateTime? startTime,
    DateTime? endTime,
    int numberOfEvents,
    string nodeId,
    int namespaceIndex,
    OpcEventFilter filter)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    startTime As Date?,
    endTime As Date?,
    numberOfEvents As Integer,
    nodeId As String,
    namespaceIndex As Integer,
    filter As OpcEventFilter) 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) |  |
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) |  |
| `namespaceIndex` | [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/) |  |

**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;

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) |  |

## ReadEventHistory(DateTime?, DateTime?, string, int, OpcEventFilter)

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

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

```csharp
public IEnumerable<OpcEvent> ReadEventHistory(
    DateTime? startTime,
    DateTime? endTime,
    string nodeId,
    int namespaceIndex,
    OpcEventFilter filter)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    startTime As Date?,
    endTime As Date?,
    nodeId As String,
    namespaceIndex As Integer,
    filter As OpcEventFilter) As 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; |  |
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) |  |
| `namespaceIndex` | [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/) |  |

**Returns**

[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;

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) |  |

## ReadEventHistory(int, int, int, OpcEventFilter)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventHistory(
    int numberOfEvents,
    int nodeId,
    int namespaceIndex,
    OpcEventFilter filter)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    numberOfEvents As Integer,
    nodeId As Integer,
    namespaceIndex As Integer,
    filter As OpcEventFilter) As IOpcEventHistoryNavigator(Of OpcEvent)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `numberOfEvents` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) |  |
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) |  |
| `namespaceIndex` | [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/) |  |

**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;

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) |  |

## ReadEventHistory(DateTime?, int, int, int, OpcEventFilter)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventHistory(
    DateTime? startTime,
    int numberOfEvents,
    int nodeId,
    int namespaceIndex,
    OpcEventFilter filter)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    startTime As Date?,
    numberOfEvents As Integer,
    nodeId As Integer,
    namespaceIndex As Integer,
    filter As OpcEventFilter) 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) |  |
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) |  |
| `namespaceIndex` | [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/) |  |

**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;

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) |  |

## ReadEventHistory(DateTime?, DateTime?, int, int, int, OpcEventFilter)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventHistory(
    DateTime? startTime,
    DateTime? endTime,
    int numberOfEvents,
    int nodeId,
    int namespaceIndex,
    OpcEventFilter filter)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    startTime As Date?,
    endTime As Date?,
    numberOfEvents As Integer,
    nodeId As Integer,
    namespaceIndex As Integer,
    filter As OpcEventFilter) 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) |  |
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) |  |
| `namespaceIndex` | [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/) |  |

**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;

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) |  |

## ReadEventHistory(int, OpcEventFilter, OpcReadEventHistory)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventHistory(
    int numberOfEvents,
    OpcEventFilter filter,
    OpcReadEventHistory command)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    numberOfEvents As Integer,
    filter As OpcEventFilter,
    command 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/) |  |
| `command` | [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;

## ReadEventHistory(DateTime?, int, OpcEventFilter, OpcReadEventHistory)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventHistory(
    DateTime? startTime,
    int numberOfEvents,
    OpcEventFilter filter,
    OpcReadEventHistory command)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    startTime As Date?,
    numberOfEvents As Integer,
    filter As OpcEventFilter,
    command 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/) |  |
| `command` | [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;

## ReadEventHistory(DateTime?, DateTime?, int, OpcEventFilter, OpcReadEventHistory)

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

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

```csharp
public IOpcEventHistoryNavigator<OpcEvent> ReadEventHistory(
    DateTime? startTime,
    DateTime? endTime,
    int numberOfEvents,
    OpcEventFilter filter,
    OpcReadEventHistory command)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    startTime As Date?,
    endTime As Date?,
    numberOfEvents As Integer,
    filter As OpcEventFilter,
    command 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/) |  |
| `command` | [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;

## ReadEventHistory(DateTime?, DateTime?, OpcEventFilter, OpcReadEventHistory)

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

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

```csharp
public IEnumerable<OpcEvent> ReadEventHistory(
    DateTime? startTime,
    DateTime? endTime,
    OpcEventFilter filter,
    OpcReadEventHistory command)
```

</div>

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

```vbnet
Public Function ReadEventHistory(
    startTime As Date?,
    endTime As Date?,
    filter As OpcEventFilter,
    command As OpcReadEventHistory) As 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/) |  |
| `command` | [OpcReadEventHistory](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcreadeventhistory/) |  |

**Returns**

[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;
