Skip to content

Reference

OpcReplaceNodeHistory Members

Represents a command which replaces values in the history of a node.

Reference

OpcReplaceNodeHistory Members ​

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

Inherits members from OpcUpdateNodeHistory, OpcNodeServiceCommand, OpcServiceCommand.

Constructors ​

OpcReplaceNodeHistory ​

10 overloads

OverloadDescription
OpcReplaceNodeHistory(OpcNodeId, IEnumerable<OpcValue>)Initializes a new instance of the OpcReplaceNodeHistory class using the nodeId and values specified.
OpcReplaceNodeHistory(OpcNodeId, params OpcValue[])Initializes a new instance of the OpcReplaceNodeHistory class using the nodeId and values specified.
OpcReplaceNodeHistory(string, IEnumerable<OpcValue>)Initializes a new instance of the OpcReplaceNodeHistory class using the nodeId and values specified.
OpcReplaceNodeHistory(string, params OpcValue[])Initializes a new instance of the OpcReplaceNodeHistory class using the nodeId and values specified.
OpcReplaceNodeHistory(int, IEnumerable<OpcValue>)Initializes a new instance of the OpcReplaceNodeHistory class using the nodeId and values specified.
OpcReplaceNodeHistory(int, params OpcValue[])Initializes a new instance of the OpcReplaceNodeHistory class using the nodeId and values specified.
OpcReplaceNodeHistory(string, int, IEnumerable<OpcValue>)Initializes a new instance of the OpcReplaceNodeHistory class using the nodeId, namespaceIndex and values specified.
OpcReplaceNodeHistory(string, int, params OpcValue[])Initializes a new instance of the OpcReplaceNodeHistory class using the nodeId, namespaceIndex and values specified.
OpcReplaceNodeHistory(int, int, IEnumerable<OpcValue>)Initializes a new instance of the OpcReplaceNodeHistory class using the nodeId, namespaceIndex and values specified.
OpcReplaceNodeHistory(int, int, params OpcValue[])Initializes a new instance of the OpcReplaceNodeHistory class using the nodeId, namespaceIndex and values specified.

OpcReplaceNodeHistory(OpcNodeId, IEnumerable<OpcValue>) ​

Initializes a new instance of the OpcReplaceNodeHistory class using the nodeId and values specified.

csharp
public OpcReplaceNodeHistory(OpcNodeId nodeId, IEnumerable<OpcValue> values)
vbnet
Public Sub New(nodeId As OpcNodeId, values As IEnumerable(Of OpcValue))

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node in whose history the values are to be replaced.
valuesIEnumerable<OpcValue>The values to replace in the history of the node.

Exceptions

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

OpcReplaceNodeHistory(OpcNodeId, params OpcValue[]) ​

Initializes a new instance of the OpcReplaceNodeHistory class using the nodeId and values specified.

csharp
public OpcReplaceNodeHistory(OpcNodeId nodeId, params OpcValue[] values)
vbnet
Public Sub New(nodeId As OpcNodeId, ParamArray values As OpcValue())

Parameters

NameTypeDescription
nodeIdOpcNodeIdThe OpcNodeId of the node in whose history the values are to be replaced.
valuesparams OpcValue[]The values to replace in the history of the node.

Exceptions

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

OpcReplaceNodeHistory(string, IEnumerable<OpcValue>) ​

Initializes a new instance of the OpcReplaceNodeHistory class using the nodeId and values specified.

csharp
public OpcReplaceNodeHistory(string nodeId, IEnumerable<OpcValue> values)
vbnet
Public Sub New(nodeId As String, values As IEnumerable(Of OpcValue))

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node in whose history the values are to be replaced.
valuesIEnumerable<OpcValue>The values to replace in the history of the node.

Exceptions

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

OpcReplaceNodeHistory(string, params OpcValue[]) ​

Initializes a new instance of the OpcReplaceNodeHistory class using the nodeId and values specified.

csharp
public OpcReplaceNodeHistory(string nodeId, params OpcValue[] values)
vbnet
Public Sub New(nodeId As String, ParamArray values As OpcValue())

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node in whose history the values are to be replaced.
valuesparams OpcValue[]The values to replace in the history of the node.

Exceptions

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

OpcReplaceNodeHistory(int, IEnumerable<OpcValue>) ​

Initializes a new instance of the OpcReplaceNodeHistory class using the nodeId and values specified.

csharp
public OpcReplaceNodeHistory(int nodeId, IEnumerable<OpcValue> values)
vbnet
Public Sub New(nodeId As Integer, values As IEnumerable(Of OpcValue))

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node in whose history the values are to be replaced.
valuesIEnumerable<OpcValue>The values to replace in the history of the node.

Exceptions

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

OpcReplaceNodeHistory(int, params OpcValue[]) ​

Initializes a new instance of the OpcReplaceNodeHistory class using the nodeId and values specified.

csharp
public OpcReplaceNodeHistory(int nodeId, params OpcValue[] values)
vbnet
Public Sub New(nodeId As Integer, ParamArray values As OpcValue())

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node in whose history the values are to be replaced.
valuesparams OpcValue[]The values to replace in the history of the node.

Exceptions

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

OpcReplaceNodeHistory(string, int, IEnumerable<OpcValue>) ​

Initializes a new instance of the OpcReplaceNodeHistory class using the nodeId, namespaceIndex and values specified.

csharp
public OpcReplaceNodeHistory(
    string nodeId,
    int namespaceIndex,
    IEnumerable<OpcValue> values)
vbnet
Public Sub New(
    nodeId As String,
    namespaceIndex As Integer,
    values As IEnumerable(Of OpcValue))

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node in whose history the values are to be replaced.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
valuesIEnumerable<OpcValue>The values to replace in the history of the node.

Exceptions

ExceptionCondition
ArgumentExceptionThe node identifier specified by nodeId and namespaceIndex is a null identifier (see IsNull).
ArgumentNullExceptionThe values is a null reference (Nothing in Visual Basic).

OpcReplaceNodeHistory(string, int, params OpcValue[]) ​

Initializes a new instance of the OpcReplaceNodeHistory class using the nodeId, namespaceIndex and values specified.

csharp
public OpcReplaceNodeHistory(
    string nodeId,
    int namespaceIndex,
    params OpcValue[] values)
vbnet
Public Sub New(
    nodeId As String,
    namespaceIndex As Integer,
    ParamArray values As OpcValue())

Parameters

NameTypeDescription
nodeIdStringThe textual node identifier of the node in whose history the values are to be replaced.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
valuesparams OpcValue[]The values to replace in the history of the node.

Exceptions

ExceptionCondition
ArgumentExceptionThe node identifier specified by nodeId and namespaceIndex is a null identifier (see IsNull).
ArgumentNullExceptionThe values is a null reference (Nothing in Visual Basic).

OpcReplaceNodeHistory(int, int, IEnumerable<OpcValue>) ​

Initializes a new instance of the OpcReplaceNodeHistory class using the nodeId, namespaceIndex and values specified.

csharp
public OpcReplaceNodeHistory(
    int nodeId,
    int namespaceIndex,
    IEnumerable<OpcValue> values)
vbnet
Public Sub New(
    nodeId As Integer,
    namespaceIndex As Integer,
    values As IEnumerable(Of OpcValue))

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node in whose history the values are to be replaced.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
valuesIEnumerable<OpcValue>The values to replace in the history of the node.

Exceptions

ExceptionCondition
ArgumentExceptionThe node identifier specified by nodeId and namespaceIndex is a null identifier (see IsNull).
ArgumentNullExceptionThe values is a null reference (Nothing in Visual Basic).

OpcReplaceNodeHistory(int, int, params OpcValue[]) ​

Initializes a new instance of the OpcReplaceNodeHistory class using the nodeId, namespaceIndex and values specified.

csharp
public OpcReplaceNodeHistory(
    int nodeId,
    int namespaceIndex,
    params OpcValue[] values)
vbnet
Public Sub New(
    nodeId As Integer,
    namespaceIndex As Integer,
    ParamArray values As OpcValue())

Parameters

NameTypeDescription
nodeIdInt32The numeric node identifier of the node in whose history the values are to be replaced.
namespaceIndexInt32The index of the namespace within that the node with the nodeId specified can be located.
valuesparams OpcValue[]The values to replace in the history of the node.

Exceptions

ExceptionCondition
ArgumentExceptionThe node identifier specified by nodeId and namespaceIndex is a null identifier (see IsNull).
ArgumentNullExceptionThe values is a null reference (Nothing in Visual Basic).