Reference
OpcClient.AddNode Method
Adds a new node into the address space hierarchy using the command specified.
Reference
OpcClient.AddNode 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
Adds a new node into the address space hierarchy using the command specified.
csharp
public OpcAddNodeResult AddNode(OpcAddNode command)vbnet
Public Function AddNode(command As OpcAddNode) As OpcAddNodeResultParameters
| Name | Type | Description |
|---|---|---|
command | OpcAddNode | The OpcAddNode instance to process. |
Returns
An instance of the OpcAddNodeResult class which contains the node identifier used or created for the node added through the command specified; together with information about the outcome of the processed command.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The command is a null reference ( |
| Invalid | The add node service is currently not supported, especially using the command specified. |
| Object | The object has been disposed of. |
| 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
Known results for the command specified are:
| Status | Description |
|---|---|
| Bad | The parent node id does not refer to a valid node. |
| Bad | For more details see Bad |
| Bad | The reference could not be created because it violates constraints imposed by the data model. |
| Bad | The requested node id is already used by another node. |
| Bad | For more details see Bad |
| Bad | For more details see Bad |
| Bad | The browse name is not unique among nodes that share the same relationship with the parent. |
| Bad | The node attributes are not valid for the node class. |
| Bad | For more details see Bad |
| Bad | For more details see Bad |

