Skip to content

Reference

IOpcReadEventsHistoryService Members

Defines a specialized IOpcService<TResponse, TRequest> which can be used to read historical events of one or more nodes.

Reference

IOpcReadEventsHistoryService Members ​

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

Inherits members from IOpcService<OpcReadEventsHistoryResponse, OpcReadEventsHistoryRequest>.

Properties ​

TimestampsToReturn ​

Gets or sets the OpcTimestampsToReturn to use to request historical data from the server.

csharp
OpcTimestampsToReturn? TimestampsToReturn { get; set; }
vbnet
Property TimestampsToReturn As OpcTimestampsToReturn?

Property value

Nullable<OpcTimestampsToReturn>

One of the members defined by the OpcTimestampsToReturn enumeration; otherwise a null reference (Nothing in Visual Basic). In case there the value is a null reference (Nothing in Visual Basic) the TimestampsToReturn of the OpcReadEventsHistoryRequest to process is used. The default value of this property is a null reference (Nothing in Visual Basic).

Methods ​

ReadEventsHistory ​

2 overloads

OverloadDescription
ReadEventsHistory(OpcReadEventHistoryDetails, IEnumerable<HistoryReadValueId>)
ReadEventsHistory(OpcReadEventHistoryDetails, params HistoryReadValueId[])

Exceptions (all overloads)

ExceptionCondition
ArgumentNullException
InvalidOperationException
OpcException

ReadEventsHistory(OpcReadEventHistoryDetails, IEnumerable<HistoryReadValueId>) ​

csharp
HistoryReadResultCollection ReadEventsHistory(
    OpcReadEventHistoryDetails details,
    IEnumerable<HistoryReadValueId> nodesToRead)
vbnet
Function ReadEventsHistory(
    details As OpcReadEventHistoryDetails,
    nodesToRead As IEnumerable(Of HistoryReadValueId)) As HistoryReadResultCollection

Parameters

NameTypeDescription
detailsOpcReadEventHistoryDetails
nodesToReadIEnumerable<HistoryReadValueId>

Returns

HistoryReadResultCollection

ReadEventsHistory(OpcReadEventHistoryDetails, params HistoryReadValueId[]) ​

csharp
HistoryReadResultCollection ReadEventsHistory(
    OpcReadEventHistoryDetails details,
    params HistoryReadValueId[] nodesToRead)
vbnet
Function ReadEventsHistory(
    details As OpcReadEventHistoryDetails,
    ParamArray nodesToRead As HistoryReadValueId()) As HistoryReadResultCollection

Parameters

NameTypeDescription
detailsOpcReadEventHistoryDetails
nodesToReadparams HistoryReadValueId[]

Returns

HistoryReadResultCollection