Skip to content

Reference

OpcReadEventsHistoryResponse Members

Represents the response of the HistoryRead service of OPC UA, which provides the history of events read for each node.

Reference

OpcReadEventsHistoryResponse Members ​

Type
OpcReadEventsHistoryResponse
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<HistoryReadResultCollection>, OpcServiceResponse.

Constructors ​

OpcReadEventsHistoryResponse ​

3 overloads

OverloadDescription
OpcReadEventsHistoryResponse(IOpcServiceResponseHeader)Initializes a new instance of the OpcReadEventsHistoryResponse class using the specified header, no results and no diagnostic information.
OpcReadEventsHistoryResponse(IOpcServiceResponseHeader, HistoryReadResultCollection)Initializes a new instance of the OpcReadEventsHistoryResponse class using the specified header and results and no diagnostic information.
OpcReadEventsHistoryResponse(IOpcServiceResponseHeader, HistoryReadResultCollection, DiagnosticInfoCollection)Initializes a new instance of the OpcReadEventsHistoryResponse class using the specified header, results and diagnosticInfos.

Exceptions (all overloads)

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

OpcReadEventsHistoryResponse(IOpcServiceResponseHeader) ​

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

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

Parameters

NameTypeDescription
headerIOpcServiceResponseHeaderThe header of the response.

OpcReadEventsHistoryResponse(IOpcServiceResponseHeader, HistoryReadResultCollection) ​

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

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

Parameters

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

OpcReadEventsHistoryResponse(IOpcServiceResponseHeader, HistoryReadResultCollection, DiagnosticInfoCollection) ​

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

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

Parameters

NameTypeDescription
headerIOpcServiceResponseHeaderThe header of the response.
resultsHistoryReadResultCollectionThe 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

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 node read in the order of the commands of the request.

Overrides

GetResults