Reference
OpcCallMethodsRequest Members
Represents the request of the Call service of OPC UA, which calls methods.
Reference
OpcCallMethodsRequest Members
- Type
- OpcCallMethodsRequest
- 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<OpcCallMethod, OpcCallMethodCollection>, OpcServiceRequest.
Constructors
OpcCallMethodsRequest
| 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. |
OpcCallMethodsRequest(IEnumerable<OpcCallMethod>)
Initializes a new instance of the OpcCallMethodsRequest class using the specified commands and a new header.
public OpcCallMethodsRequest(IEnumerable<OpcCallMethod> commands)Public Sub New(commands As IEnumerable(Of OpcCallMethod))Parameters
| Name | Type | Description |
|---|---|---|
commands | IEnumerable<OpcCallMethod> | The commands which specify the methods to call and their input arguments. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The commands is a null reference ( |
OpcCallMethodsRequest(params OpcCallMethod[])
Initializes a new instance of the OpcCallMethodsRequest class using the specified commands and a new header.
public OpcCallMethodsRequest(params OpcCallMethod[] commands)Public Sub New(ParamArray commands As OpcCallMethod())Parameters
| Name | Type | Description |
|---|---|---|
commands | params OpcCallMethod[] | The commands which specify the methods to call and their input arguments. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The commands is a null reference ( |
OpcCallMethodsRequest(IOpcServiceRequestHeader, IEnumerable<OpcCallMethod>)
Initializes a new instance of the OpcCallMethodsRequest class using the specified header and commands.
public OpcCallMethodsRequest(
IOpcServiceRequestHeader header,
IEnumerable<OpcCallMethod> commands)Public Sub New(
header As IOpcServiceRequestHeader,
commands As IEnumerable(Of OpcCallMethod))Parameters
| Name | Type | Description |
|---|---|---|
header | IOpc | The header of the request. |
commands | IEnumerable<OpcCallMethod> | The commands which specify the methods to call and their input arguments. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The header or the commands is a null reference ( |
OpcCallMethodsRequest(IOpcServiceRequestHeader, params OpcCallMethod[])
Initializes a new instance of the OpcCallMethodsRequest class using the specified header and commands.
public OpcCallMethodsRequest(
IOpcServiceRequestHeader header,
params OpcCallMethod[] commands)Public Sub New(
header As IOpcServiceRequestHeader,
ParamArray commands As OpcCallMethod())Parameters
| Name | Type | Description |
|---|---|---|
header | IOpc | The header of the request. |
commands | params OpcCallMethod[] | The commands which specify the methods to call and their input arguments. |
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 ObjectId or the MethodId of a command is a null identifier; then none of the commands is executed.

