# OpcReadNodesHistoryRequest Members

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcReadNodesHistoryRequest</a></dd>
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx.services">Opc.UaFx.Services</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 [OpcServiceRequest&lt;HistoryReadValueId, HistoryReadValueIdCollection&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcservicerequest-2/members), [OpcServiceRequest](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcservicerequest/members).

## Constructors

### OpcReadNodesHistoryRequest

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

| Overload | Description |
|---|---|
| [OpcReadNodesHistoryRequest(OpcReadHistoryDetails, IEnumerable&lt;HistoryReadValueId&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcreadnodeshistoryrequest/members#opcreadnodeshistoryrequest-opc-uafx-opcreadhistorydetails-system-collections-generic-ienumerable-of-opc-ua-historyreadvalueid) |  |
| [OpcReadNodesHistoryRequest(OpcReadHistoryDetails, params HistoryReadValueId\[\])](#opcreadnodeshistoryrequest-opc-uafx-opcreadhistorydetails-opc-ua-historyreadvalueid-array) |  |
| [OpcReadNodesHistoryRequest(IOpcServiceRequestHeader, OpcReadHistoryDetails, IEnumerable&lt;HistoryReadValueId&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcreadnodeshistoryrequest/members#opcreadnodeshistoryrequest-opc-uafx-services-iopcservicerequestheader-opc-uafx-opcreadhistorydetails-system-collections-generic-ienumerable-of-opc-ua-historyreadvalueid)<span class="api-meta">since v2.7</span> |  |
| [OpcReadNodesHistoryRequest(IOpcServiceRequestHeader, OpcReadHistoryDetails, params HistoryReadValueId\[\])](#opcreadnodeshistoryrequest-opc-uafx-services-iopcservicerequestheader-opc-uafx-opcreadhistorydetails-opc-ua-historyreadvalueid-array)<span class="api-meta">since v2.7</span> |  |

**Exceptions (all overloads)**

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

#### OpcReadNodesHistoryRequest(OpcReadHistoryDetails, IEnumerable&lt;HistoryReadValueId&gt;)

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

```csharp
public OpcReadNodesHistoryRequest(
    OpcReadHistoryDetails details,
    IEnumerable<HistoryReadValueId> commands)
```

</div>

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

```vbnet
<CLSCompliant(False)>
Public Sub New(
    details As OpcReadHistoryDetails,
    commands As IEnumerable(Of HistoryReadValueId))
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `details` | [OpcReadHistoryDetails](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadhistorydetails/) |  |
| `commands` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;<abbr title="OPC Foundation stack type, not documented here: Opc.Ua.HistoryReadValueId">HistoryReadValueId</abbr>&gt; |  |

#### OpcReadNodesHistoryRequest(OpcReadHistoryDetails, params HistoryReadValueId\[\])

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

```csharp
public OpcReadNodesHistoryRequest(
    OpcReadHistoryDetails details,
    params HistoryReadValueId[] commands)
```

</div>

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

```vbnet
<CLSCompliant(False)>
Public Sub New(
    details As OpcReadHistoryDetails,
    ParamArray commands As HistoryReadValueId())
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `details` | [OpcReadHistoryDetails](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadhistorydetails/) |  |
| `commands` | params <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.HistoryReadValueId">HistoryReadValueId</abbr>[] |  |

#### OpcReadNodesHistoryRequest(IOpcServiceRequestHeader, OpcReadHistoryDetails, IEnumerable&lt;HistoryReadValueId&gt;)

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

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

```csharp
public OpcReadNodesHistoryRequest(
    IOpcServiceRequestHeader header,
    OpcReadHistoryDetails details,
    IEnumerable<HistoryReadValueId> commands)
```

</div>

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

```vbnet
<CLSCompliant(False)>
Public Sub New(
    header As IOpcServiceRequestHeader,
    details As OpcReadHistoryDetails,
    commands As IEnumerable(Of HistoryReadValueId))
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `header` | [IOpcServiceRequestHeader](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.iopcservicerequestheader/) |  |
| `details` | [OpcReadHistoryDetails](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadhistorydetails/) |  |
| `commands` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;<abbr title="OPC Foundation stack type, not documented here: Opc.Ua.HistoryReadValueId">HistoryReadValueId</abbr>&gt; |  |

#### OpcReadNodesHistoryRequest(IOpcServiceRequestHeader, OpcReadHistoryDetails, params HistoryReadValueId\[\])

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

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

```csharp
public OpcReadNodesHistoryRequest(
    IOpcServiceRequestHeader header,
    OpcReadHistoryDetails details,
    params HistoryReadValueId[] commands)
```

</div>

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

```vbnet
<CLSCompliant(False)>
Public Sub New(
    header As IOpcServiceRequestHeader,
    details As OpcReadHistoryDetails,
    ParamArray commands As HistoryReadValueId())
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `header` | [IOpcServiceRequestHeader](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.iopcservicerequestheader/) |  |
| `details` | [OpcReadHistoryDetails](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadhistorydetails/) |  |
| `commands` | params <abbr title="OPC Foundation stack type, not documented here: Opc.Ua.HistoryReadValueId">HistoryReadValueId</abbr>[] |  |

## Properties

### Details

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

```csharp
public OpcReadHistoryDetails Details { get; }
```

</div>

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

```vbnet
Public ReadOnly Property Details As OpcReadHistoryDetails
```

</div>

**Property value**

[OpcReadHistoryDetails](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadhistorydetails/)

### ReleaseContinuationPoints

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

```csharp
public bool ReleaseContinuationPoints { get; set; }
```

</div>

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

```vbnet
Public Property ReleaseContinuationPoints As Boolean
```

</div>

**Property value**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

### TimestampsToReturn

Gets or sets a value which specifies the timestamps to be returned for each requested [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#value) attribute.

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

```csharp
public OpcTimestampsToReturn TimestampsToReturn { get; set; }
```

</div>

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

```vbnet
Public Property TimestampsToReturn As OpcTimestampsToReturn
```

</div>

**Property value**

[OpcTimestampsToReturn](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctimestampstoreturn/)

One of the members defined by the [OpcTimestampsToReturn](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctimestampstoreturn/) enumeration except [Neither](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctimestampstoreturn/#neither). The default value is [Source](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctimestampstoreturn/#source) for [OpcReadNodeHistoryProcessedDetails](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadnodehistoryprocesseddetails/) and [Both](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctimestampstoreturn/#both) for all other details.

**Remarks**

Using the value [Neither](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctimestampstoreturn/#neither) as the timestamps to return is not valid and results into a response with the status code [BadTimestampsToReturnInvalid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcstatuscode/#badtimestampstoreturninvalid). The same applies to processed data requested with any value other than [Source](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctimestampstoreturn/#source) (OPC 10000-13, 5.4.3.1). If a server rejects such a request, the [OpcClient](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/) repeats it once with [Source](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctimestampstoreturn/#source) and updates this property.

## Methods

### Validate

<span class="api-meta">protected · override · since v2.50</span>

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

```csharp
protected override void Validate()
```

</div>

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

```vbnet
Protected Overrides Sub Validate()
```

</div>

**Overrides**

[Validate](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcservicerequest/members#validate)
