Skip to content

Reference

OpcReadEventHistory Members

Represents a command which defines a node whose event history is to be read using the ReadEventsHistory methods of the OpcClient.

Reference

OpcReadEventHistory Members ​

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

Inherits members from OpcNodeServiceCommand, OpcServiceCommand.

Constructors ​

OpcReadEventHistory ​

5 overloads

OverloadDescription
OpcReadEventHistory(OpcNodeId)Initializes a new instance of the OpcReadEventHistory class using the nodeId specified.
OpcReadEventHistory(string)Initializes a new instance of the OpcReadEventHistory class using the nodeId specified.
OpcReadEventHistory(int)Initializes a new instance of the OpcReadEventHistory class using the nodeId specified.
OpcReadEventHistory(string, int)Initializes a new instance of the OpcReadEventHistory class using the nodeId and namespaceIndex specified.
OpcReadEventHistory(int, int)Initializes a new instance of the OpcReadEventHistory class using the nodeId and namespaceIndex specified.

OpcReadEventHistory(OpcNodeId) ​

Initializes a new instance of the OpcReadEventHistory class using the nodeId specified.

csharp
public OpcReadEventHistory(OpcNodeId nodeId)
vbnet
Public Sub New(nodeId As OpcNodeId)

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node whose event history is to be read.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is a null identifier (see IsNull).
ArgumentNullExceptionThe nodeId is a null reference (Nothing in Visual Basic).

OpcReadEventHistory(string) ​

Initializes a new instance of the OpcReadEventHistory class using the nodeId specified.

csharp
public OpcReadEventHistory(string nodeId)
vbnet
Public Sub New(nodeId As String)

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node whose event history is to be read.

Exceptions

ExceptionCondition
ArgumentExceptionThe nodeId is a null reference (Nothing in Visual Basic) or equals Empty, which results in a null identifier (see IsNull).
FormatExceptionThe nodeId is not a valid node identifier expression (see Parse) and AlwaysParseStringIdentifiers is false.

OpcReadEventHistory(int) ​

Initializes a new instance of the OpcReadEventHistory class using the nodeId specified.

csharp
public OpcReadEventHistory(int nodeId)
vbnet
Public Sub New(nodeId As Integer)

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node whose event history is to be read.

Exceptions

ExceptionCondition
ArgumentExceptionThe node identifier specified by nodeId is a null identifier (see IsNull).

OpcReadEventHistory(string, int) ​

Initializes a new instance of the OpcReadEventHistory class using the nodeId and namespaceIndex specified.

csharp
public OpcReadEventHistory(string nodeId, int namespaceIndex)
vbnet
Public Sub New(nodeId As String, namespaceIndex As Integer)

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node whose event history is to be read.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.

Exceptions

ExceptionCondition
ArgumentExceptionThe node identifier specified by nodeId and namespaceIndex is a null identifier (see IsNull).

OpcReadEventHistory(int, int) ​

Initializes a new instance of the OpcReadEventHistory class using the nodeId and namespaceIndex specified.

csharp
public OpcReadEventHistory(int nodeId, int namespaceIndex)
vbnet
Public Sub New(nodeId As Integer, namespaceIndex As Integer)

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node whose event history is to be read.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.

Exceptions

ExceptionCondition
ArgumentExceptionThe node identifier specified by nodeId and namespaceIndex is a null identifier (see IsNull).