Skip to content

Reference

OpcUpdateNodesHistoryRequest Members

Represents the request of the HistoryUpdate service of OPC UA, which updates the history of nodes.

Reference

OpcUpdateNodesHistoryRequest Members ​

Type
OpcUpdateNodesHistoryRequest
Namespace
Opc.UaFx.Services
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Inherits members from OpcServiceRequest<OpcUpdateNodeHistoryDetails, OpcUpdateNodeHistoryDetailsCollection>, OpcServiceRequest.

Constructors ​

OpcUpdateNodesHistoryRequest ​

4 overloads

OverloadDescription
OpcUpdateNodesHistoryRequest(IEnumerable<OpcUpdateNodeHistoryDetails>)Initializes a new instance of the OpcUpdateNodesHistoryRequest class using the specified commands and a new header.
OpcUpdateNodesHistoryRequest(params OpcUpdateNodeHistoryDetails[])Initializes a new instance of the OpcUpdateNodesHistoryRequest class using the specified commands and a new header.
OpcUpdateNodesHistoryRequest(IOpcServiceRequestHeader, IEnumerable<OpcUpdateNodeHistoryDetails>)since v2.7Initializes a new instance of the OpcUpdateNodesHistoryRequest class using the specified header and commands.
OpcUpdateNodesHistoryRequest(IOpcServiceRequestHeader, params OpcUpdateNodeHistoryDetails[])since v2.7Initializes a new instance of the OpcUpdateNodesHistoryRequest class using the specified header and commands.

OpcUpdateNodesHistoryRequest(IEnumerable<OpcUpdateNodeHistoryDetails>) ​

Initializes a new instance of the OpcUpdateNodesHistoryRequest class using the specified commands and a new header.

csharp
public OpcUpdateNodesHistoryRequest(
    IEnumerable<OpcUpdateNodeHistoryDetails> commands)
vbnet
Public Sub New(commands As IEnumerable(Of OpcUpdateNodeHistoryDetails))

Parameters

NameTypeDescription
commandsIEnumerable<OpcUpdateNodeHistoryDetails>The commands which specify the history updates.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe commands is a null reference (Nothing in Visual Basic).

OpcUpdateNodesHistoryRequest(params OpcUpdateNodeHistoryDetails[]) ​

Initializes a new instance of the OpcUpdateNodesHistoryRequest class using the specified commands and a new header.

csharp
[CLSCompliant(false)]
public OpcUpdateNodesHistoryRequest(
    params OpcUpdateNodeHistoryDetails[] commands)
vbnet
<CLSCompliant(False)>
Public Sub New(ParamArray commands As OpcUpdateNodeHistoryDetails())

Parameters

NameTypeDescription
commandsparams OpcUpdateNodeHistoryDetails[]The commands which specify the history updates.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe commands is a null reference (Nothing in Visual Basic).

OpcUpdateNodesHistoryRequest(IOpcServiceRequestHeader, IEnumerable<OpcUpdateNodeHistoryDetails>) ​

since v2.7

Initializes a new instance of the OpcUpdateNodesHistoryRequest class using the specified header and commands.

csharp
[CLSCompliant(false)]
public OpcUpdateNodesHistoryRequest(
    IOpcServiceRequestHeader header,
    IEnumerable<OpcUpdateNodeHistoryDetails> commands)
vbnet
<CLSCompliant(False)>
Public Sub New(
    header As IOpcServiceRequestHeader,
    commands As IEnumerable(Of OpcUpdateNodeHistoryDetails))

Parameters

NameTypeDescription
headerIOpcServiceRequestHeaderThe header of the request.
commandsIEnumerable<OpcUpdateNodeHistoryDetails>The commands which specify the history updates.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe header or the commands is a null reference (Nothing in Visual Basic).

OpcUpdateNodesHistoryRequest(IOpcServiceRequestHeader, params OpcUpdateNodeHistoryDetails[]) ​

since v2.7

Initializes a new instance of the OpcUpdateNodesHistoryRequest class using the specified header and commands.

csharp
[CLSCompliant(false)]
public OpcUpdateNodesHistoryRequest(
    IOpcServiceRequestHeader header,
    params OpcUpdateNodeHistoryDetails[] commands)
vbnet
<CLSCompliant(False)>
Public Sub New(
    header As IOpcServiceRequestHeader,
    ParamArray commands As OpcUpdateNodeHistoryDetails())

Parameters

NameTypeDescription
headerIOpcServiceRequestHeaderThe header of the request.
commandsparams OpcUpdateNodeHistoryDetails[]The commands which specify the history updates.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe header or the commands is a null reference (Nothing in Visual Basic).

Methods ​

Validate ​

protected · override · since v2.50

Validates the request before a server processes it.

csharp
protected override void Validate()
vbnet
Protected Overrides Sub Validate()

Overrides

Validate

Remarks

A server rejects the request with BadNothingToDo if it contains no commands or if the node identifier of a command is a null identifier; then none of the commands is executed.