Reference
OpcDeleteNodesRequest Members
Represents the request of the DeleteNodes service of OPC UA, which deletes nodes from the address space.
Reference
OpcDeleteNodesRequest Members
- Type
- OpcDeleteNodesRequest
- Namespace
- Opc.UaFx.Services
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Also in
- Opc.UaFx.Client
Inherits members from OpcServiceRequest<OpcDeleteNode, OpcDeleteNodeCollection>, OpcServiceRequest.
Constructors
OpcDeleteNodesRequest
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opccommands and a new header. |
| Opc | Initializes a new instance of the Opccommands and a new header. |
| Opc | Initializes a new instance of the Opcheader and commands. |
| Opc | Initializes a new instance of the Opcheader and commands. |
OpcDeleteNodesRequest(IEnumerable<OpcDeleteNode>)
Initializes a new instance of the OpcDeleteNodesRequest class using the specified commands and a new header.
public OpcDeleteNodesRequest(IEnumerable<OpcDeleteNode> commands)Public Sub New(commands As IEnumerable(Of OpcDeleteNode))Parameters
| Name | Type | Description |
|---|---|---|
commands | IEnumerable<OpcDeleteNode> | The commands which specify the nodes to delete. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The commands is a null reference ( |
OpcDeleteNodesRequest(params OpcDeleteNode[])
Initializes a new instance of the OpcDeleteNodesRequest class using the specified commands and a new header.
public OpcDeleteNodesRequest(params OpcDeleteNode[] commands)Public Sub New(ParamArray commands As OpcDeleteNode())Parameters
| Name | Type | Description |
|---|---|---|
commands | params OpcDeleteNode[] | The commands which specify the nodes to delete. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The commands is a null reference ( |
OpcDeleteNodesRequest(IOpcServiceRequestHeader, IEnumerable<OpcDeleteNode>)
Initializes a new instance of the OpcDeleteNodesRequest class using the specified header and commands.
public OpcDeleteNodesRequest(
IOpcServiceRequestHeader header,
IEnumerable<OpcDeleteNode> commands)Public Sub New(
header As IOpcServiceRequestHeader,
commands As IEnumerable(Of OpcDeleteNode))Parameters
| Name | Type | Description |
|---|---|---|
header | IOpc | The header of the request. |
commands | IEnumerable<OpcDeleteNode> | The commands which specify the nodes to delete. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The header or the commands is a null reference ( |
OpcDeleteNodesRequest(IOpcServiceRequestHeader, params OpcDeleteNode[])
Initializes a new instance of the OpcDeleteNodesRequest class using the specified header and commands.
public OpcDeleteNodesRequest(
IOpcServiceRequestHeader header,
params OpcDeleteNode[] commands)Public Sub New(
header As IOpcServiceRequestHeader,
ParamArray commands As OpcDeleteNode())Parameters
| Name | Type | Description |
|---|---|---|
header | IOpc | The header of the request. |
commands | params OpcDeleteNode[] | The commands which specify the nodes to delete. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The header or the commands is a null reference ( |
Methods
Validate
Validates the request before a server processes it.
protected override void Validate()Protected Overrides Sub Validate()Overrides
Remarks
A server rejects the request with BadNothingToDo if it contains no commands or if the node identifier of a command is a null identifier; then none of the commands is executed.

