Reference
OpcClient.RegisterNode Method
Registers a node for optimized node access using the command specified.
Reference
OpcClient.RegisterNode 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 |
|---|---|
| RegisterNode( | Registers a node for optimized node access using the command specified. |
| RegisterNode( | Registers a node for optimized node access using the identifier of the node. |
Known results: BadNodeIdInvalid
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| Object | The object has been disposed of. |
RegisterNode(OpcRegisterNode)
Registers a node for optimized node access using the command specified.
public OpcNodeId RegisterNode(OpcRegisterNode command)Public Function RegisterNode(command As OpcRegisterNode) As OpcNodeIdParameters
| Name | Type | Description |
|---|---|---|
command | OpcRegisterNode | The OpcRegisterNode instance to process. |
Returns
An instance of the OpcNodeId class which is to be used for subsequent optimized node access.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The command is a null reference ( |
| Invalid | The register node service is currently not supported, especially using the command specified. |
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and Bad |
Remarks
Servers completely reject register nodes requests if any of the node identifiers passed are structurally invalid.
RegisterNode(OpcNodeId)
Registers a node for optimized node access using the identifier of the node. A once registered node needs to be unregistered as soon as the optimized node access is not longer required. This assures that the server can release unused resources reserved for the optimized node access.
public OpcNodeId RegisterNode(OpcNodeId nodeId)Public Function RegisterNode(nodeId As OpcNodeId) As OpcNodeIdParameters
| Name | Type | Description |
|---|---|---|
nodeId | OpcNodeId | The OpcNodeId through that the node to register can be identified. |
Returns
An instance of the OpcNodeId class which is to be used for subsequent optimized node access. Use this identifier to release unused resources associated with the optimized node access using UnregisterNode as soon as the optimized node access is not longer required.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The nodeId is equals Null. |
| Argument | The nodeId is a null reference ( |
| Invalid | The register node service is currently not supported, especially using the parameters specified. |
| OpcException | The service execution failed upon different circumstances; for more details see exception details. The following issues can lead to that exception: BadNothingToDo and Bad |
Remarks
Servers completely reject register nodes requests if any of the node identifiers passed are structurally invalid.

