Skip to content

Reference

OpcUpdateNodesHistoryResponse Members

Represents the response of the HistoryUpdate service of OPC UA, which provides the results of each history update.

Reference

OpcUpdateNodesHistoryResponse Members ​

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

Inherits members from OpcServiceResponse<HistoryUpdateResultCollection>, OpcServiceResponse.

Constructors ​

OpcUpdateNodesHistoryResponse ​

3 overloads · since v2.7

OverloadDescription
OpcUpdateNodesHistoryResponse(IOpcServiceResponseHeader)since v2.7Initializes a new instance of the OpcUpdateNodesHistoryResponse class using the specified header, no results and no diagnostic information.
OpcUpdateNodesHistoryResponse(IOpcServiceResponseHeader, HistoryUpdateResultCollection)since v2.7Initializes a new instance of the OpcUpdateNodesHistoryResponse class using the specified header and results and no diagnostic information.
OpcUpdateNodesHistoryResponse(IOpcServiceResponseHeader, HistoryUpdateResultCollection, DiagnosticInfoCollection)since v2.7Initializes a new instance of the OpcUpdateNodesHistoryResponse class using the specified header, results and diagnosticInfos.

Exceptions (all overloads)

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

OpcUpdateNodesHistoryResponse(IOpcServiceResponseHeader) ​

since v2.7

Initializes a new instance of the OpcUpdateNodesHistoryResponse class using the specified header, no results and no diagnostic information.

csharp
[CLSCompliant(false)]
public OpcUpdateNodesHistoryResponse(IOpcServiceResponseHeader header)
vbnet
<CLSCompliant(False)>
Public Sub New(header As IOpcServiceResponseHeader)

Parameters

NameTypeDescription
headerIOpcServiceResponseHeaderThe header of the response.

OpcUpdateNodesHistoryResponse(IOpcServiceResponseHeader, HistoryUpdateResultCollection) ​

since v2.7

Initializes a new instance of the OpcUpdateNodesHistoryResponse class using the specified header and results and no diagnostic information.

csharp
[CLSCompliant(false)]
public OpcUpdateNodesHistoryResponse(
    IOpcServiceResponseHeader header,
    HistoryUpdateResultCollection results)
vbnet
<CLSCompliant(False)>
Public Sub New(
    header As IOpcServiceResponseHeader,
    results As HistoryUpdateResultCollection)

Parameters

NameTypeDescription
headerIOpcServiceResponseHeaderThe header of the response.
resultsHistoryUpdateResultCollectionThe results of the operations in the order of the commands of the request, or a null reference (Nothing in Visual Basic) for none.

OpcUpdateNodesHistoryResponse(IOpcServiceResponseHeader, HistoryUpdateResultCollection, DiagnosticInfoCollection) ​

since v2.7

Initializes a new instance of the OpcUpdateNodesHistoryResponse class using the specified header, results and diagnosticInfos.

csharp
[CLSCompliant(false)]
public OpcUpdateNodesHistoryResponse(
    IOpcServiceResponseHeader header,
    HistoryUpdateResultCollection results,
    DiagnosticInfoCollection diagnosticInfos)
vbnet
<CLSCompliant(False)>
Public Sub New(
    header As IOpcServiceResponseHeader,
    results As HistoryUpdateResultCollection,
    diagnosticInfos As DiagnosticInfoCollection)

Parameters

NameTypeDescription
headerIOpcServiceResponseHeaderThe header of the response.
resultsHistoryUpdateResultCollectionThe results of the operations in the order of the commands of the request, or a null reference (Nothing in Visual Basic) for none.
diagnosticInfosDiagnosticInfoCollectionThe diagnostic information of the operations, or a null reference (Nothing in Visual Basic) for none.

Methods ​

GetResults ​

override · since v2.19

Retrieves the results of the operations of the service.

csharp
public override IEnumerable<OpcResult> GetResults()
vbnet
Public Overrides Function GetResults() As IEnumerable(Of OpcResult)

Returns

IEnumerable<OpcResult>

A sequence of the OpcResult of each history update in the order of the commands of the request.

Overrides

GetResults