Reference
OpcClient.CallMethods Method
Calls the methods as defined by the commands specified using a single call methods service request.
Reference
OpcClient.CallMethods 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 |
|---|---|
| CallMethods( | Calls the methods as defined by the commands specified using a single call methods service request. |
| CallMethods( | Calls the methods as defined by the commands specified using a single call methods service request. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| OpcException | The client is not connected to the server, the service execution failed or the server reported a bad status code for one of the calls or for one of their input arguments. |
| Object | The object has been disposed of. |
CallMethods(IEnumerable<OpcCallMethod>)
Calls the methods as defined by the commands specified using a single call methods service request.
csharp
public object[][] CallMethods(IEnumerable<OpcCallMethod> commands)vbnet
Public Function CallMethods(
commands As IEnumerable(Of OpcCallMethod)) As Object()()Parameters
| Name | Type | Description |
|---|---|---|
commands | IEnumerable<OpcCallMethod> | A sequence of OpcCallMethod commands, each defining the object, the method and the values of the input arguments of a call. |
Returns
Object[][]
An array which contains for each command, in the order of the commands, an array of the values of the output arguments returned by the method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The commands sequence is a null reference ( |
| LicenseException | The license is expired. |
CallMethods(params OpcCallMethod[])
Calls the methods as defined by the commands specified using a single call methods service request.
csharp
public object[][] CallMethods(params OpcCallMethod[] commands)vbnet
Public Function CallMethods(
ParamArray commands As OpcCallMethod()) As Object()()Parameters
| Name | Type | Description |
|---|---|---|
commands | params OpcCallMethod[] | An array of OpcCallMethod commands, each defining the object, the method and the values of the input arguments of a call. |
Returns
Object[][]
An array which contains for each command, in the order of the commands, an array of the values of the output arguments returned by the method.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The commands array is a null reference ( |

