Reference
OpcClient.ReplaceNodeHistory Method
Replaces existing entries of the history of the node as defined by the command specified.
Reference
OpcClient.ReplaceNodeHistory Method
- Type
- OpcClient
- Namespace
- Opc.UaFx.Client
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Members
- OpcClient Members
- Also in
- Opc.UaFx.Client
| Overload | Description |
|---|---|
| Replace | Replaces existing entries of the history of the node as defined by the command specified. |
| Replace | Replaces an existing entry of the history of the node identified by the nodeId specified by the value specified. |
| Replace | Replaces existing entries of the history of the node identified by the nodeId specified by the values specified. |
| Replace | Replaces existing entries of the history of the node identified by the nodeId specified by the values specified. |
| Replace | Replaces an existing entry of the history of the node identified by the nodeId specified by the value specified. |
| Replace | Replaces existing entries of the history of the node identified by the nodeId specified by the values specified. |
| Replace | Replaces existing entries of the history of the node identified by the nodeId specified by the values specified. |
| Replace | Replaces an existing entry of the history of the node identified by the nodeId specified by the value specified. |
| Replace | Replaces existing entries of the history of the node identified by the nodeId specified by the values specified. |
| Replace | Replaces existing entries of the history of the node identified by the nodeId specified by the values specified. |
| Replace | Replaces an existing entry of the history of the node identified by the nodeId specified by the value specified. |
| Replace | Replaces existing entries of the history of the node identified by the nodeId specified by the values specified. |
| Replace | Replaces existing entries of the history of the node identified by the nodeId specified by the values specified. |
| Replace | Replaces an existing entry of the history of the node identified by the nodeId specified by the value specified. |
| Replace | Replaces existing entries of the history of the node identified by the nodeId specified by the values specified. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| OpcException | The client is not connected to the server or the service execution failed upon different circumstances; for more details see exception details. |
| Object | The object has been disposed of. |
ReplaceNodeHistory(OpcReplaceNodeHistory)
Replaces existing entries of the history of the node as defined by the command specified.
public OpcStatusCollection ReplaceNodeHistory(OpcReplaceNodeHistory command)Public Function ReplaceNodeHistory(
command As OpcReplaceNodeHistory) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
command | Opc | The Opc |
Returns
An OpcStatusCollection with the OpcStatus instances the server reports for the command or, if it reports no status per value, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The command or one of the values of the command is a null reference ( |
ReplaceNodeHistory(OpcNodeId, OpcValue)
Replaces an existing entry of the history of the node identified by the nodeId specified by the value specified.
public OpcStatus ReplaceNodeHistory(OpcNodeId nodeId, OpcValue value)Public Function ReplaceNodeHistory(
nodeId As OpcNodeId,
value As OpcValue) As OpcStatusParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node whose history is to be updated. |
value | OpcValue | The OpcValue to replace the existing entry of the history of the node with. |
Returns
The OpcStatus the server reports for the value or, if it reports no status per value, for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null identifier ( |
| Argument | The nodeId or the value is a null reference ( |
ReplaceNodeHistory(OpcNodeId, IEnumerable<OpcValue>)
Replaces existing entries of the history of the node identified by the nodeId specified by the values specified.
public OpcStatusCollection ReplaceNodeHistory(
OpcNodeId nodeId,
IEnumerable<OpcValue> values)Public Function ReplaceNodeHistory(
nodeId As OpcNodeId,
values As IEnumerable(Of OpcValue)) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node whose history is to be updated. |
values | IEnumerable<OpcValue> | A sequence of the OpcValue instances to replace the existing entries of the history of the node with. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each value or, if it reports no status per value, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null identifier ( |
| Argument | The nodeId or the values sequence or one of its items is a null reference ( |
ReplaceNodeHistory(OpcNodeId, params OpcValue[])
Replaces existing entries of the history of the node identified by the nodeId specified by the values specified.
public OpcStatusCollection ReplaceNodeHistory(
OpcNodeId nodeId,
params OpcValue[] values)Public Function ReplaceNodeHistory(
nodeId As OpcNodeId,
ParamArray values As OpcValue()) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId of the node whose history is to be updated. |
values | params OpcValue[] | An array of the OpcValue instances to replace the existing entries of the history of the node with. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each value or, if it reports no status per value, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null identifier ( |
| Argument | The nodeId or the values array or one of its items is a null reference ( |
ReplaceNodeHistory(string, OpcValue)
Replaces an existing entry of the history of the node identified by the nodeId specified by the value specified.
public OpcStatus ReplaceNodeHistory(string nodeId, OpcValue value)Public Function ReplaceNodeHistory(
nodeId As String,
value As OpcValue) As OpcStatusParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node whose history is to be updated. |
value | OpcValue | The OpcValue to replace the existing entry of the history of the node with. |
Returns
The OpcStatus the server reports for the value or, if it reports no status per value, for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| Argument | The value is a null reference ( |
| FormatException | The nodeId is not a valid node identifier expression ( |
ReplaceNodeHistory(string, IEnumerable<OpcValue>)
Replaces existing entries of the history of the node identified by the nodeId specified by the values specified.
public OpcStatusCollection ReplaceNodeHistory(
string nodeId,
IEnumerable<OpcValue> values)Public Function ReplaceNodeHistory(
nodeId As String,
values As IEnumerable(Of OpcValue)) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node whose history is to be updated. |
values | IEnumerable<OpcValue> | A sequence of the OpcValue instances to replace the existing entries of the history of the node with. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each value or, if it reports no status per value, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| Argument | The values sequence or one of its items is a null reference ( |
| FormatException | The nodeId is not a valid node identifier expression ( |
ReplaceNodeHistory(string, params OpcValue[])
Replaces existing entries of the history of the node identified by the nodeId specified by the values specified.
public OpcStatusCollection ReplaceNodeHistory(
string nodeId,
params OpcValue[] values)Public Function ReplaceNodeHistory(
nodeId As String,
ParamArray values As OpcValue()) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node whose history is to be updated. |
values | params OpcValue[] | An array of the OpcValue instances to replace the existing entries of the history of the node with. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each value or, if it reports no status per value, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| Argument | The values array or one of its items is a null reference ( |
| FormatException | The nodeId is not a valid node identifier expression ( |
ReplaceNodeHistory(int, OpcValue)
Replaces an existing entry of the history of the node identified by the nodeId specified by the value specified.
public OpcStatus ReplaceNodeHistory(int nodeId, OpcValue value)Public Function ReplaceNodeHistory(
nodeId As Integer,
value As OpcValue) As OpcStatusParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node whose history is to be updated. |
value | OpcValue | The OpcValue to replace the existing entry of the history of the node with. |
Returns
The OpcStatus the server reports for the value or, if it reports no status per value, for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is equals zero, which results in a null identifier ( |
| Argument | The value is a null reference ( |
ReplaceNodeHistory(int, IEnumerable<OpcValue>)
Replaces existing entries of the history of the node identified by the nodeId specified by the values specified.
public OpcStatusCollection ReplaceNodeHistory(
int nodeId,
IEnumerable<OpcValue> values)Public Function ReplaceNodeHistory(
nodeId As Integer,
values As IEnumerable(Of OpcValue)) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node whose history is to be updated. |
values | IEnumerable<OpcValue> | A sequence of the OpcValue instances to replace the existing entries of the history of the node with. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each value or, if it reports no status per value, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is equals zero, which results in a null identifier ( |
| Argument | The values sequence or one of its items is a null reference ( |
ReplaceNodeHistory(int, params OpcValue[])
Replaces existing entries of the history of the node identified by the nodeId specified by the values specified.
public OpcStatusCollection ReplaceNodeHistory(
int nodeId,
params OpcValue[] values)Public Function ReplaceNodeHistory(
nodeId As Integer,
ParamArray values As OpcValue()) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node whose history is to be updated. |
values | params OpcValue[] | An array of the OpcValue instances to replace the existing entries of the history of the node with. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each value or, if it reports no status per value, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is equals zero, which results in a null identifier ( |
| Argument | The values array or one of its items is a null reference ( |
ReplaceNodeHistory(string, int, OpcValue)
Replaces an existing entry of the history of the node identified by the nodeId specified by the value specified.
public OpcStatus ReplaceNodeHistory(
string nodeId,
int namespaceIndex,
OpcValue value)Public Function ReplaceNodeHistory(
nodeId As String,
namespaceIndex As Integer,
value As OpcValue) As OpcStatusParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node whose history is to be updated. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
value | OpcValue | The OpcValue to replace the existing entry of the history of the node with. |
Returns
The OpcStatus the server reports for the value or, if it reports no status per value, for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| Argument | The value is a null reference ( |
ReplaceNodeHistory(string, int, IEnumerable<OpcValue>)
Replaces existing entries of the history of the node identified by the nodeId specified by the values specified.
public OpcStatusCollection ReplaceNodeHistory(
string nodeId,
int namespaceIndex,
IEnumerable<OpcValue> values)Public Function ReplaceNodeHistory(
nodeId As String,
namespaceIndex As Integer,
values As IEnumerable(Of OpcValue)) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node whose history is to be updated. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
values | IEnumerable<OpcValue> | A sequence of the OpcValue instances to replace the existing entries of the history of the node with. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each value or, if it reports no status per value, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| Argument | The values sequence or one of its items is a null reference ( |
ReplaceNodeHistory(string, int, params OpcValue[])
Replaces existing entries of the history of the node identified by the nodeId specified by the values specified.
public OpcStatusCollection ReplaceNodeHistory(
string nodeId,
int namespaceIndex,
params OpcValue[] values)Public Function ReplaceNodeHistory(
nodeId As String,
namespaceIndex As Integer,
ParamArray values As OpcValue()) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | String | The textual node identifier of the node whose history is to be updated. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
values | params OpcValue[] | An array of the OpcValue instances to replace the existing entries of the history of the node with. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each value or, if it reports no status per value, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is a null reference ( |
| Argument | The values array or one of its items is a null reference ( |
ReplaceNodeHistory(int, int, OpcValue)
Replaces an existing entry of the history of the node identified by the nodeId specified by the value specified.
public OpcStatus ReplaceNodeHistory(
int nodeId,
int namespaceIndex,
OpcValue value)Public Function ReplaceNodeHistory(
nodeId As Integer,
namespaceIndex As Integer,
value As OpcValue) As OpcStatusParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node whose history is to be updated. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
value | OpcValue | The OpcValue to replace the existing entry of the history of the node with. |
Returns
The OpcStatus the server reports for the value or, if it reports no status per value, for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is equals zero, which results in a null identifier ( |
| Argument | The value is a null reference ( |
ReplaceNodeHistory(int, int, IEnumerable<OpcValue>)
Replaces existing entries of the history of the node identified by the nodeId specified by the values specified.
public OpcStatusCollection ReplaceNodeHistory(
int nodeId,
int namespaceIndex,
IEnumerable<OpcValue> values)Public Function ReplaceNodeHistory(
nodeId As Integer,
namespaceIndex As Integer,
values As IEnumerable(Of OpcValue)) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeId | Int32 | The numeric node identifier of the node whose history is to be updated. |
namespaceIndex | Int32 | The index of the namespace within that the node with the nodeId specified can be located. |
values | IEnumerable<OpcValue> | A sequence of the OpcValue instances to replace the existing entries of the history of the node with. |
Returns
An OpcStatusCollection with the OpcStatus the server reports for each value or, if it reports no status per value, only with the status for the node.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is equals zero, which results in a null identifier ( |
| Argument | The values sequence or one of its items is a null reference ( |

