Reference
OpcReadEventsHistoryRequest Members
Represents the request of the HistoryRead service of OPC UA, which reads the history of events of nodes.
Reference
OpcReadEventsHistoryRequest Members
- Type
- OpcReadEventsHistoryRequest
- 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<HistoryReadValueId, HistoryReadValueIdCollection>, OpcServiceRequest.
Constructors
OpcReadEventsHistoryRequest
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opcdetails and commands and a new header. |
| Opc | Initializes a new instance of the Opcdetails and commands and a new header. |
| Opc | Initializes a new instance of the Opcheader, details and commands. |
| Opc | Initializes a new instance of the Opcheader, details and commands. |
OpcReadEventsHistoryRequest(OpcReadEventHistoryDetails, IEnumerable<HistoryReadValueId>)
Initializes a new instance of the OpcReadEventsHistoryRequest class using the specified details and commands and a new header.
[CLSCompliant(false)]
public OpcReadEventsHistoryRequest(
OpcReadEventHistoryDetails details,
IEnumerable<HistoryReadValueId> commands)<CLSCompliant(False)>
Public Sub New(
details As OpcReadEventHistoryDetails,
commands As IEnumerable(Of HistoryReadValueId))Parameters
| Name | Type | Description |
|---|---|---|
details | Opc | The details which specify the events to read. |
commands | IEnumerable<History | The commands which specify the nodes whose event history is to be read. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The commands is a null reference ( |
OpcReadEventsHistoryRequest(OpcReadEventHistoryDetails, params HistoryReadValueId[])
Initializes a new instance of the OpcReadEventsHistoryRequest class using the specified details and commands and a new header.
[CLSCompliant(false)]
public OpcReadEventsHistoryRequest(
OpcReadEventHistoryDetails details,
params HistoryReadValueId[] commands)<CLSCompliant(False)>
Public Sub New(
details As OpcReadEventHistoryDetails,
ParamArray commands As HistoryReadValueId())Parameters
| Name | Type | Description |
|---|---|---|
details | Opc | The details which specify the events to read. |
commands | params History | The commands which specify the nodes whose event history is to be read. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The commands is a null reference ( |
OpcReadEventsHistoryRequest(IOpcServiceRequestHeader, OpcReadEventHistoryDetails, IEnumerable<HistoryReadValueId>)
Initializes a new instance of the OpcReadEventsHistoryRequest class using the specified header, details and commands.
[CLSCompliant(false)]
public OpcReadEventsHistoryRequest(
IOpcServiceRequestHeader header,
OpcReadEventHistoryDetails details,
IEnumerable<HistoryReadValueId> commands)<CLSCompliant(False)>
Public Sub New(
header As IOpcServiceRequestHeader,
details As OpcReadEventHistoryDetails,
commands As IEnumerable(Of HistoryReadValueId))Parameters
| Name | Type | Description |
|---|---|---|
header | IOpc | The header of the request. |
details | Opc | The details which specify the events to read. |
commands | IEnumerable<History | The commands which specify the nodes whose event history is to be read. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The header or the commands is a null reference ( |
OpcReadEventsHistoryRequest(IOpcServiceRequestHeader, OpcReadEventHistoryDetails, params HistoryReadValueId[])
Initializes a new instance of the OpcReadEventsHistoryRequest class using the specified header, details and commands.
[CLSCompliant(false)]
public OpcReadEventsHistoryRequest(
IOpcServiceRequestHeader header,
OpcReadEventHistoryDetails details,
params HistoryReadValueId[] commands)<CLSCompliant(False)>
Public Sub New(
header As IOpcServiceRequestHeader,
details As OpcReadEventHistoryDetails,
ParamArray commands As HistoryReadValueId())Parameters
| Name | Type | Description |
|---|---|---|
header | IOpc | The header of the request. |
details | Opc | The details which specify the events to read. |
commands | params History | The commands which specify the nodes whose event history is to be read. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The header or the commands is a null reference ( |
Properties
Details
Gets the details which specify the events to read.
public OpcReadEventHistoryDetails Details { get; }Public ReadOnly Property Details As OpcReadEventHistoryDetailsProperty value
The OpcReadEventHistoryDetails specified when the request was created.
ReleaseContinuationPoints
Gets or sets a value indicating whether the continuation points of the commands are to be released.
public bool ReleaseContinuationPoints { get; set; }Public Property ReleaseContinuationPoints As BooleanProperty value
The value true to release the continuation points without reading further events; otherwise the value false to continue reading. The default value is false.
TimestampsToReturn
Gets or sets a value which specifies the timestamps to be returned for each requested Value attribute.
public OpcTimestampsToReturn TimestampsToReturn { get; set; }Public Property TimestampsToReturn As OpcTimestampsToReturnProperty value
One of the members defined by the OpcTimestampsToReturn enumeration except Neither.
Remarks
Using the value Neither as the timestamps to return is not valid and results into a response with the status code BadInvalidTimestampArgument.

