# OpcDeleteNodeHistoryAtTime Members

> Reference: Represents a command which deletes the values at specific timestamps from the history of a node.

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

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).

## Constructors

### OpcDeleteNodeHistoryAtTime

<span class="api-meta">15 overloads</span>

| Overload | Description |
|---|---|
| [OpcDeleteNodeHistoryAtTime(OpcNodeId, DateTime)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/members#opcdeletenodehistoryattime-opc-uafx-opcnodeid-system-datetime) | Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId` and `time` specified. |
| [OpcDeleteNodeHistoryAtTime(OpcNodeId, IEnumerable&lt;DateTime&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/members#opcdeletenodehistoryattime-opc-uafx-opcnodeid-system-collections-generic-ienumerable-of-system-datetime) | Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId` and `times` specified. |
| [OpcDeleteNodeHistoryAtTime(OpcNodeId, params DateTime\[\])](#opcdeletenodehistoryattime-opc-uafx-opcnodeid-system-datetime-array) | Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId` and `times` specified. |
| [OpcDeleteNodeHistoryAtTime(string, DateTime)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/members#opcdeletenodehistoryattime-system-string-system-datetime) | Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId` and `time` specified. |
| [OpcDeleteNodeHistoryAtTime(string, IEnumerable&lt;DateTime&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/members#opcdeletenodehistoryattime-system-string-system-collections-generic-ienumerable-of-system-datetime) | Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId` and `times` specified. |
| [OpcDeleteNodeHistoryAtTime(string, params DateTime\[\])](#opcdeletenodehistoryattime-system-string-system-datetime-array) | Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId` and `times` specified. |
| [OpcDeleteNodeHistoryAtTime(int, DateTime)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/members#opcdeletenodehistoryattime-system-int32-system-datetime) | Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId` and `time` specified. |
| [OpcDeleteNodeHistoryAtTime(int, IEnumerable&lt;DateTime&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/members#opcdeletenodehistoryattime-system-int32-system-collections-generic-ienumerable-of-system-datetime) | Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId` and `times` specified. |
| [OpcDeleteNodeHistoryAtTime(int, params DateTime\[\])](#opcdeletenodehistoryattime-system-int32-system-datetime-array) | Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId` and `times` specified. |
| [OpcDeleteNodeHistoryAtTime(string, int, DateTime)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/members#opcdeletenodehistoryattime-system-string-system-int32-system-datetime) | Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId`, `namespaceIndex` and `time` specified. |
| [OpcDeleteNodeHistoryAtTime(string, int, IEnumerable&lt;DateTime&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/members#opcdeletenodehistoryattime-system-string-system-int32-system-collections-generic-ienumerable-of-system-datetime) | Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId`, `namespaceIndex` and `times` specified. |
| [OpcDeleteNodeHistoryAtTime(string, int, params DateTime\[\])](#opcdeletenodehistoryattime-system-string-system-int32-system-datetime-array) | Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId`, `namespaceIndex` and `times` specified. |
| [OpcDeleteNodeHistoryAtTime(int, int, DateTime)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/members#opcdeletenodehistoryattime-system-int32-system-int32-system-datetime) | Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId`, `namespaceIndex` and `time` specified. |
| [OpcDeleteNodeHistoryAtTime(int, int, IEnumerable&lt;DateTime&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/members#opcdeletenodehistoryattime-system-int32-system-int32-system-collections-generic-ienumerable-of-system-datetime) | Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId`, `namespaceIndex` and `times` specified. |
| [OpcDeleteNodeHistoryAtTime(int, int, params DateTime\[\])](#opcdeletenodehistoryattime-system-int32-system-int32-system-datetime-array) | Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId`, `namespaceIndex` and `times` specified. |

#### OpcDeleteNodeHistoryAtTime(OpcNodeId, DateTime)

Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId` and `time` specified.

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

```csharp
public OpcDeleteNodeHistoryAtTime(OpcNodeId nodeId, DateTime time)
```

</div>

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

```vbnet
Public Sub New(nodeId As OpcNodeId, time As Date)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of the node from whose history the values are to be deleted. |
| `time` | [DateTime](https://learn.microsoft.com/dotnet/api/system.datetime) | The timestamp of the value to delete. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is a null identifier (see [IsNull](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/members#isnull)). |
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `nodeId` is a null reference (Nothing in Visual Basic). |

#### OpcDeleteNodeHistoryAtTime(OpcNodeId, IEnumerable&lt;DateTime&gt;)

Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId` and `times` specified.

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

```csharp
public OpcDeleteNodeHistoryAtTime(OpcNodeId nodeId, IEnumerable<DateTime> times)
```

</div>

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

```vbnet
Public Sub New(nodeId As OpcNodeId, times As IEnumerable(Of Date))
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of the node from whose history the values are to be deleted. |
| `times` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; | The timestamps of the values to delete. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is a null identifier (see [IsNull](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/members#isnull)). |
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `nodeId` or `times` is a null reference (Nothing in Visual Basic). |

#### OpcDeleteNodeHistoryAtTime(OpcNodeId, params DateTime\[\])

Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId` and `times` specified.

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

```csharp
public OpcDeleteNodeHistoryAtTime(OpcNodeId nodeId, params DateTime[] times)
```

</div>

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

```vbnet
Public Sub New(nodeId As OpcNodeId, ParamArray times As Date())
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) | The [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) of the node from whose history the values are to be deleted. |
| `times` | params [DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)[] | The timestamps of the values to delete. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is a null identifier (see [IsNull](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/members#isnull)). |
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `nodeId` or `times` is a null reference (Nothing in Visual Basic). |

#### OpcDeleteNodeHistoryAtTime(string, DateTime)

Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId` and `time` specified.

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

```csharp
public OpcDeleteNodeHistoryAtTime(string nodeId, DateTime time)
```

</div>

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

```vbnet
Public Sub New(nodeId As String, time As Date)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node from whose history the values are to be deleted. |
| `time` | [DateTime](https://learn.microsoft.com/dotnet/api/system.datetime) | The timestamp of the value to delete. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is a null reference (Nothing in Visual Basic) or equals [Empty](https://learn.microsoft.com/dotnet/api/system.string.empty), which results in a null identifier (see [IsNull](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/members#isnull)). |
| [FormatException](https://learn.microsoft.com/dotnet/api/system.formatexception) | The `nodeId` is not a valid node identifier expression (see [Parse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/members#parse)) and [AlwaysParseStringIdentifiers](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcautomatism/members#alwaysparsestringidentifiers) is false. |

#### OpcDeleteNodeHistoryAtTime(string, IEnumerable&lt;DateTime&gt;)

Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId` and `times` specified.

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

```csharp
public OpcDeleteNodeHistoryAtTime(string nodeId, IEnumerable<DateTime> times)
```

</div>

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

```vbnet
Public Sub New(nodeId As String, times As IEnumerable(Of Date))
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node from whose history the values are to be deleted. |
| `times` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; | The timestamps of the values to delete. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is a null reference (Nothing in Visual Basic) or equals [Empty](https://learn.microsoft.com/dotnet/api/system.string.empty), which results in a null identifier (see [IsNull](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/members#isnull)). |
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `times` is a null reference (Nothing in Visual Basic). |
| [FormatException](https://learn.microsoft.com/dotnet/api/system.formatexception) | The `nodeId` is not a valid node identifier expression (see [Parse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/members#parse)) and [AlwaysParseStringIdentifiers](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcautomatism/members#alwaysparsestringidentifiers) is false. |

#### OpcDeleteNodeHistoryAtTime(string, params DateTime\[\])

Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId` and `times` specified.

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

```csharp
public OpcDeleteNodeHistoryAtTime(string nodeId, params DateTime[] times)
```

</div>

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

```vbnet
Public Sub New(nodeId As String, ParamArray times As Date())
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node from whose history the values are to be deleted. |
| `times` | params [DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)[] | The timestamps of the values to delete. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `nodeId` is a null reference (Nothing in Visual Basic) or equals [Empty](https://learn.microsoft.com/dotnet/api/system.string.empty), which results in a null identifier (see [IsNull](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/members#isnull)). |
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `times` is a null reference (Nothing in Visual Basic). |
| [FormatException](https://learn.microsoft.com/dotnet/api/system.formatexception) | The `nodeId` is not a valid node identifier expression (see [Parse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/members#parse)) and [AlwaysParseStringIdentifiers](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcautomatism/members#alwaysparsestringidentifiers) is false. |

#### OpcDeleteNodeHistoryAtTime(int, DateTime)

Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId` and `time` specified.

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

```csharp
public OpcDeleteNodeHistoryAtTime(int nodeId, DateTime time)
```

</div>

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

```vbnet
Public Sub New(nodeId As Integer, time As Date)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node from whose history the values are to be deleted. |
| `time` | [DateTime](https://learn.microsoft.com/dotnet/api/system.datetime) | The timestamp of the value to delete. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The node identifier specified by `nodeId` is a null identifier (see [IsNull](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/members#isnull)). |

#### OpcDeleteNodeHistoryAtTime(int, IEnumerable&lt;DateTime&gt;)

Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId` and `times` specified.

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

```csharp
public OpcDeleteNodeHistoryAtTime(int nodeId, IEnumerable<DateTime> times)
```

</div>

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

```vbnet
Public Sub New(nodeId As Integer, times As IEnumerable(Of Date))
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node from whose history the values are to be deleted. |
| `times` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; | The timestamps of the values to delete. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The node identifier specified by `nodeId` is a null identifier (see [IsNull](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/members#isnull)). |
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `times` is a null reference (Nothing in Visual Basic). |

#### OpcDeleteNodeHistoryAtTime(int, params DateTime\[\])

Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId` and `times` specified.

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

```csharp
public OpcDeleteNodeHistoryAtTime(int nodeId, params DateTime[] times)
```

</div>

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

```vbnet
Public Sub New(nodeId As Integer, ParamArray times As Date())
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node from whose history the values are to be deleted. |
| `times` | params [DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)[] | The timestamps of the values to delete. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The node identifier specified by `nodeId` is a null identifier (see [IsNull](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/members#isnull)). |
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `times` is a null reference (Nothing in Visual Basic). |

#### OpcDeleteNodeHistoryAtTime(string, int, DateTime)

Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId`, `namespaceIndex` and `time` specified.

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

```csharp
public OpcDeleteNodeHistoryAtTime(
    string nodeId,
    int namespaceIndex,
    DateTime time)
```

</div>

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

```vbnet
Public Sub New(nodeId As String, namespaceIndex As Integer, time As Date)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node from whose history the values are to be deleted. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `time` | [DateTime](https://learn.microsoft.com/dotnet/api/system.datetime) | The timestamp of the value to delete. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The node identifier specified by `nodeId` and `namespaceIndex` is a null identifier (see [IsNull](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/members#isnull)). |

#### OpcDeleteNodeHistoryAtTime(string, int, IEnumerable&lt;DateTime&gt;)

Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId`, `namespaceIndex` and `times` specified.

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

```csharp
public OpcDeleteNodeHistoryAtTime(
    string nodeId,
    int namespaceIndex,
    IEnumerable<DateTime> times)
```

</div>

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

```vbnet
Public Sub New(
    nodeId As String,
    namespaceIndex As Integer,
    times As IEnumerable(Of Date))
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node from whose history the values are to be deleted. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `times` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; | The timestamps of the values to delete. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The node identifier specified by `nodeId` and `namespaceIndex` is a null identifier (see [IsNull](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/members#isnull)). |
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `times` is a null reference (Nothing in Visual Basic). |

#### OpcDeleteNodeHistoryAtTime(string, int, params DateTime\[\])

Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId`, `namespaceIndex` and `times` specified.

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

```csharp
public OpcDeleteNodeHistoryAtTime(
    string nodeId,
    int namespaceIndex,
    params DateTime[] times)
```

</div>

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

```vbnet
Public Sub New(
    nodeId As String,
    namespaceIndex As Integer,
    ParamArray times As Date())
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The textual node identifier of the node from whose history the values are to be deleted. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `times` | params [DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)[] | The timestamps of the values to delete. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The node identifier specified by `nodeId` and `namespaceIndex` is a null identifier (see [IsNull](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/members#isnull)). |
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `times` is a null reference (Nothing in Visual Basic). |

#### OpcDeleteNodeHistoryAtTime(int, int, DateTime)

Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId`, `namespaceIndex` and `time` specified.

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

```csharp
public OpcDeleteNodeHistoryAtTime(int nodeId, int namespaceIndex, DateTime time)
```

</div>

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

```vbnet
Public Sub New(nodeId As Integer, namespaceIndex As Integer, time As Date)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node from whose history the values are to be deleted. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `time` | [DateTime](https://learn.microsoft.com/dotnet/api/system.datetime) | The timestamp of the value to delete. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The node identifier specified by `nodeId` and `namespaceIndex` is a null identifier (see [IsNull](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/members#isnull)). |

#### OpcDeleteNodeHistoryAtTime(int, int, IEnumerable&lt;DateTime&gt;)

Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId`, `namespaceIndex` and `times` specified.

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

```csharp
public OpcDeleteNodeHistoryAtTime(
    int nodeId,
    int namespaceIndex,
    IEnumerable<DateTime> times)
```

</div>

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

```vbnet
Public Sub New(
    nodeId As Integer,
    namespaceIndex As Integer,
    times As IEnumerable(Of Date))
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node from whose history the values are to be deleted. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `times` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)&gt; | The timestamps of the values to delete. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The node identifier specified by `nodeId` and `namespaceIndex` is a null identifier (see [IsNull](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/members#isnull)). |
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `times` is a null reference (Nothing in Visual Basic). |

#### OpcDeleteNodeHistoryAtTime(int, int, params DateTime\[\])

Initializes a new instance of the [OpcDeleteNodeHistoryAtTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdeletenodehistoryattime/) class using the `nodeId`, `namespaceIndex` and `times` specified.

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

```csharp
public OpcDeleteNodeHistoryAtTime(
    int nodeId,
    int namespaceIndex,
    params DateTime[] times)
```

</div>

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

```vbnet
Public Sub New(
    nodeId As Integer,
    namespaceIndex As Integer,
    ParamArray times As Date())
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `nodeId` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The numeric node identifier of the node from whose history the values are to be deleted. |
| `namespaceIndex` | [Int32](https://learn.microsoft.com/dotnet/api/system.int32) | The index of the namespace within that the node with the `nodeId` specified can be located. |
| `times` | params [DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)[] | The timestamps of the values to delete. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The node identifier specified by `nodeId` and `namespaceIndex` is a null identifier (see [IsNull](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/members#isnull)). |
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `times` is a null reference (Nothing in Visual Basic). |
