Reference
OpcClient.DeleteNodes Method
Deletes one or more nodes from the address space hierarchy using the commands specified.
Reference
OpcClient.DeleteNodes 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 |
|---|---|
| DeleteNodes( | Deletes one or more nodes from the address space hierarchy using the commands specified. |
| DeleteNodes( | Deletes one or more nodes from the address space hierarchy using the commands specified. |
| DeleteNodes( | Deletes one or more nodes from the address space hierarchy using the identifiers of the nodes which shall be deleted including the references where the node acts as the source and as the target of the reference. |
| DeleteNodes( | Deletes one or more nodes from the address space hierarchy using the identifiers of the nodes which shall be deleted including the references where the node acts as the source and as the target of the reference. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| 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 |
DeleteNodes(IEnumerable<OpcDeleteNode>)
Deletes one or more nodes from the address space hierarchy using the commands specified.
public OpcStatusCollection DeleteNodes(IEnumerable<OpcDeleteNode> commands)Public Function DeleteNodes(
commands As IEnumerable(Of OpcDeleteNode)) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
commands | IEnumerable<OpcDeleteNode> | A sequence of OpcDeleteNode instances to process. |
Returns
An instance of the OpcStatusCollection class which contains the information about the outcome of each processed command.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The commands sequence or one of its items is a null reference ( |
| Invalid | The delete node service is currently not supported, especially using the commands specified. |
Remarks
Known results for the commands specified are:
| Status | Description |
|---|---|
| BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
| BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
| Bad | For more details see Bad |
| Bad | For more details see Bad |
| Uncertain | The server was not able to delete all target references. |
DeleteNodes(params OpcDeleteNode[])
Deletes one or more nodes from the address space hierarchy using the commands specified.
public OpcStatusCollection DeleteNodes(params OpcDeleteNode[] commands)Public Function DeleteNodes(
ParamArray commands As OpcDeleteNode()) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
commands | params OpcDeleteNode[] | An array of OpcDeleteNode instances to process. |
Returns
An instance of the OpcStatusCollection class which contains the information about the outcome of each processed command.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The commands sequence or one of its items is a null reference ( |
| Invalid | The delete node service is currently not supported, especially using the commands specified. |
Remarks
Known results for the commands specified are:
| Status | Description |
|---|---|
| BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
| BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
| Bad | For more details see Bad |
| Bad | For more details see Bad |
| Uncertain | The server was not able to delete all target references. |
DeleteNodes(IEnumerable<OpcNodeId>)
Deletes one or more nodes from the address space hierarchy using the identifiers of the nodes which shall be deleted including the references where the node acts as the source and as the target of the reference.
public OpcStatusCollection DeleteNodes(IEnumerable<OpcNodeId> nodeIds)Public Function DeleteNodes(
nodeIds As IEnumerable(Of OpcNodeId)) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeIds | IEnumerable<OpcNodeId> | A sequence of OpcNodeId instances through that the nodes to delete can be identified and accessed. |
Returns
Exceptions
| Exception | Condition |
|---|---|
| Argument | One of the OpcNodeId instances in nodeIds is equals Null. |
| Argument | The nodeIds is a null reference ( |
| Invalid | The delete node service is currently not supported, especially using the parameters specified. |
Remarks
Known results for the service invocation are:
| Status | Description |
|---|---|
| BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
| BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
| Bad | For more details see Bad |
| Bad | For more details see Bad |
| Uncertain | The server was not able to delete all target references. |
DeleteNodes(params OpcNodeId[])
Deletes one or more nodes from the address space hierarchy using the identifiers of the nodes which shall be deleted including the references where the node acts as the source and as the target of the reference.
public OpcStatusCollection DeleteNodes(params OpcNodeId[] nodeIds)Public Function DeleteNodes(
ParamArray nodeIds As OpcNodeId()) As OpcStatusCollectionParameters
| Name | Type | Description |
|---|---|---|
nodeIds | params OpcNodeId[] | An array of OpcNodeId instances through that the nodes to delete can be identified and accessed. |
Returns
Exceptions
| Exception | Condition |
|---|---|
| Argument | One of the OpcNodeId instances in nodeIds is equals Null. |
| Argument | The nodeIds is a null reference ( |
| Invalid | The delete node service is currently not supported, especially using the parameters specified. |
Remarks
Known results for the service invocation are:
| Status | Description |
|---|---|
| BadNodeIdInvalid | For more details see BadNodeIdInvalid. |
| BadNodeIdUnknown | For more details see BadNodeIdUnknown. |
| Bad | For more details see Bad |
| Bad | For more details see Bad |
| Uncertain | The server was not able to delete all target references. |

