Reference
OpcWriteNodesRequest Members
Represents the request of the Write service of OPC UA, which writes attributes of nodes.
Reference
OpcWriteNodesRequest Members
- Type
- OpcWriteNodesRequest
- 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<OpcWriteNode, OpcWriteNodeCollection>, OpcServiceRequest.
Constructors
OpcWriteNodesRequest
| 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. |
OpcWriteNodesRequest(IEnumerable<OpcWriteNode>)
Initializes a new instance of the OpcWriteNodesRequest class using the specified commands and a new header.
public OpcWriteNodesRequest(IEnumerable<OpcWriteNode> commands)Public Sub New(commands As IEnumerable(Of OpcWriteNode))Parameters
| Name | Type | Description |
|---|---|---|
commands | IEnumerable<OpcWriteNode> | The commands which specify the attributes and values to write. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The commands is a null reference ( |
OpcWriteNodesRequest(params OpcWriteNode[])
Initializes a new instance of the OpcWriteNodesRequest class using the specified commands and a new header.
public OpcWriteNodesRequest(params OpcWriteNode[] commands)Public Sub New(ParamArray commands As OpcWriteNode())Parameters
| Name | Type | Description |
|---|---|---|
commands | params OpcWriteNode[] | The commands which specify the attributes and values to write. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The commands is a null reference ( |
OpcWriteNodesRequest(IOpcServiceRequestHeader, IEnumerable<OpcWriteNode>)
Initializes a new instance of the OpcWriteNodesRequest class using the specified header and commands.
public OpcWriteNodesRequest(
IOpcServiceRequestHeader header,
IEnumerable<OpcWriteNode> commands)Public Sub New(
header As IOpcServiceRequestHeader,
commands As IEnumerable(Of OpcWriteNode))Parameters
| Name | Type | Description |
|---|---|---|
header | IOpc | The header of the request. |
commands | IEnumerable<OpcWriteNode> | The commands which specify the attributes and values to write. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The header or the commands is a null reference ( |
OpcWriteNodesRequest(IOpcServiceRequestHeader, params OpcWriteNode[])
Initializes a new instance of the OpcWriteNodesRequest class using the specified header and commands.
public OpcWriteNodesRequest(
IOpcServiceRequestHeader header,
params OpcWriteNode[] commands)Public Sub New(
header As IOpcServiceRequestHeader,
ParamArray commands As OpcWriteNode())Parameters
| Name | Type | Description |
|---|---|---|
header | IOpc | The header of the request. |
commands | params OpcWriteNode[] | The commands which specify the attributes and values to write. |
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; then none of the commands is executed.

