Reference
OpcUpdateNodeHistory Members
Represents a command which updates values in the history of a node.
Reference
OpcUpdateNodeHistory Members
- Type
- OpcUpdateNodeHistory
- 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
OpcUpdateNodeHistory
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the OpcnodeId and values specified. |
| Opc | Initializes a new instance of the OpcnodeId and values specified. |
| Opc | Initializes a new instance of the OpcnodeId and values specified. |
| Opc | Initializes a new instance of the OpcnodeId and values specified. |
| Opc | Initializes a new instance of the OpcnodeId and values specified. |
| Opc | Initializes a new instance of the OpcnodeId and values specified. |
| Opc | Initializes a new instance of the OpcnodeId, namespaceIndex and values specified. |
| Opc | Initializes a new instance of the OpcnodeId, namespaceIndex and values specified. |
| Opc | Initializes a new instance of the OpcnodeId, namespaceIndex and values specified. |
| Opc | Initializes a new instance of the OpcnodeId, namespaceIndex and values specified. |
OpcUpdateNodeHistory(OpcNodeId, IEnumerable<OpcValue>)
Initializes a new instance of the OpcUpdateNodeHistory class using the nodeId and values specified.
public OpcUpdateNodeHistory(OpcNodeId nodeId, IEnumerable<OpcValue> values)Public Sub New(nodeId As OpcNodeId, values As IEnumerable(Of OpcValue))Parameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node in whose history the values are to be updated. |
values | IEnumerable<OpcValue> | The values to update in the history of the node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null identifier ( |
| Argument | The nodeId or values is a null reference ( |
OpcUpdateNodeHistory(OpcNodeId, params OpcValue[])
Initializes a new instance of the OpcUpdateNodeHistory class using the nodeId and values specified.
public OpcUpdateNodeHistory(OpcNodeId nodeId, params OpcValue[] values)Public Sub New(nodeId As OpcNodeId, ParamArray values As OpcValue())Parameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node in whose history the values are to be updated. |
values | params OpcValue[] | The values to update in the history of the node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null identifier ( |
| Argument | The nodeId or values is a null reference ( |
OpcUpdateNodeHistory(string, IEnumerable<OpcValue>)
Initializes a new instance of the OpcUpdateNodeHistory class using the nodeId and values specified.
public OpcUpdateNodeHistory(string nodeId, IEnumerable<OpcValue> values)Public Sub New(nodeId As String, values As IEnumerable(Of OpcValue))Parameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node in whose history the values are to be updated. |
values | IEnumerable<OpcValue> | The values to update in the history of the node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| Argument | The values is a null reference ( |
| FormatException | The nodeId is not a valid node identifier expression ( |
OpcUpdateNodeHistory(string, params OpcValue[])
Initializes a new instance of the OpcUpdateNodeHistory class using the nodeId and values specified.
public OpcUpdateNodeHistory(string nodeId, params OpcValue[] values)Public Sub New(nodeId As String, ParamArray values As OpcValue())Parameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node in whose history the values are to be updated. |
values | params OpcValue[] | The values to update in the history of the node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| Argument | The values is a null reference ( |
| FormatException | The nodeId is not a valid node identifier expression ( |
OpcUpdateNodeHistory(int, IEnumerable<OpcValue>)
Initializes a new instance of the OpcUpdateNodeHistory class using the nodeId and values specified.
public OpcUpdateNodeHistory(int nodeId, IEnumerable<OpcValue> values)Public Sub New(nodeId As Integer, values As IEnumerable(Of OpcValue))Parameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node in whose history the values are to be updated. |
values | IEnumerable<OpcValue> | The values to update in the history of the node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The node identifier specified by nodeId is a null identifier ( |
| Argument | The values is a null reference ( |
OpcUpdateNodeHistory(int, params OpcValue[])
Initializes a new instance of the OpcUpdateNodeHistory class using the nodeId and values specified.
public OpcUpdateNodeHistory(int nodeId, params OpcValue[] values)Public Sub New(nodeId As Integer, ParamArray values As OpcValue())Parameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node in whose history the values are to be updated. |
values | params OpcValue[] | The values to update in the history of the node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The node identifier specified by nodeId is a null identifier ( |
| Argument | The values is a null reference ( |
OpcUpdateNodeHistory(string, int, IEnumerable<OpcValue>)
Initializes a new instance of the OpcUpdateNodeHistory class using the nodeId, namespaceIndex and values specified.
public OpcUpdateNodeHistory(
string nodeId,
int namespaceIndex,
IEnumerable<OpcValue> values)Public Sub New(
nodeId As String,
namespaceIndex As Integer,
values As IEnumerable(Of OpcValue))Parameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node in whose history the values are to be updated. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
values | IEnumerable<OpcValue> | The values to update in the history of the node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The node identifier specified by nodeId and namespaceIndex is a null identifier ( |
| Argument | The values is a null reference ( |
OpcUpdateNodeHistory(string, int, params OpcValue[])
Initializes a new instance of the OpcUpdateNodeHistory class using the nodeId, namespaceIndex and values specified.
public OpcUpdateNodeHistory(
string nodeId,
int namespaceIndex,
params OpcValue[] values)Public Sub New(
nodeId As String,
namespaceIndex As Integer,
ParamArray values As OpcValue())Parameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node in whose history the values are to be updated. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
values | params OpcValue[] | The values to update in the history of the node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The node identifier specified by nodeId and namespaceIndex is a null identifier ( |
| Argument | The values is a null reference ( |
OpcUpdateNodeHistory(int, int, IEnumerable<OpcValue>)
Initializes a new instance of the OpcUpdateNodeHistory class using the nodeId, namespaceIndex and values specified.
public OpcUpdateNodeHistory(
int nodeId,
int namespaceIndex,
IEnumerable<OpcValue> values)Public Sub New(
nodeId As Integer,
namespaceIndex As Integer,
values As IEnumerable(Of OpcValue))Parameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node in whose history the values are to be updated. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
values | IEnumerable<OpcValue> | The values to update in the history of the node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The node identifier specified by nodeId and namespaceIndex is a null identifier ( |
| Argument | The values is a null reference ( |
OpcUpdateNodeHistory(int, int, params OpcValue[])
Initializes a new instance of the OpcUpdateNodeHistory class using the nodeId, namespaceIndex and values specified.
public OpcUpdateNodeHistory(
int nodeId,
int namespaceIndex,
params OpcValue[] values)Public Sub New(
nodeId As Integer,
namespaceIndex As Integer,
ParamArray values As OpcValue())Parameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node in whose history the values are to be updated. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
values | params OpcValue[] | The values to update in the history of the node. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The node identifier specified by nodeId and namespaceIndex is a null identifier ( |
| Argument | The values is a null reference ( |
Properties
UpdateType
Gets the kind of change the command performs on the history of the node.
public OpcHistoryUpdateType UpdateType { get; protected set; }Public Property UpdateType As OpcHistoryUpdateTypeProperty value
The OpcHistoryUpdateType defined by the derived command, such as Create for an OpcCreateNodeHistory command.
Remarks
For an instance of the OpcUpdateNodeHistory class itself the property provides the value 0, which is not defined by OpcHistoryUpdateType. The command then performs the change defined by Update.

