# OpcNodeHistoryCommand Class

> Reference: Provides an abstract base class for commands which define a node and the change to perform on its history using the UpdateNodeHistory and UpdateNodesHistory methods.

<span class="api-meta">abstract</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">OpcNodeHistoryCommand Members</a></dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Provides an abstract base class for commands which define a node and the change to perform on its history using the [UpdateNodeHistory](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/updatenodehistory#updatenodehistory-opc-uafx-client-opcnodehistorycommand) and [UpdateNodesHistory](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/updatenodeshistory#updatenodeshistory-opc-uafx-client-opcnodehistorycommand-array) methods.

## Syntax

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

```csharp
public abstract class OpcNodeHistoryCommand : OpcNodeServiceCommand
```

</div>

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

```vbnet
Public MustInherit Class OpcNodeHistoryCommand
    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/) → **OpcNodeHistoryCommand**

## Derived types

- [OpcDeleteNodeHistory](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistory/)
- [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/)
- [OpcDeleteNodeHistoryModified](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistorymodified/)
- [OpcUpdateNodeHistory](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcupdatenodehistory/)

## Constructors

| Name | Description |
|---|---|
| [OpcNodeHistoryCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcnodehistorycommand/members#opcnodehistorycommand)<span class="api-meta">protected · 5 overloads</span> | Initializes a new instance of the OpcNodeHistoryCommand 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.5–v2.59 |
