Reference
OpcClient.CallAction Method
Calls the method identified by the methodId on the object identified by the objectId specified without any input arguments and discards the values of the output arguments returned.
Reference
OpcClient.CallAction 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 |
|---|---|
| CallAction( | Calls the method identified by the methodId on the object identified by the objectId specified without any input arguments and discards the values of the output arguments returned. |
| CallAction< | Calls the method identified by the methodId on the object identified by the objectId specified using the parameter as the value of its input argument and discards the values of the output arguments returned. |
| CallAction< | Calls the method identified by the methodId on the object identified by the objectId specified using the parameter1 and parameter2 as the values of its input arguments and discards the values of the output arguments returned. |
| CallAction< | Calls the method identified by the methodId on the object identified by the objectId specified using the parameter1 to parameter3 as the values of its input arguments and discards the values of the output arguments returned. |
| CallAction< | Calls the method identified by the methodId on the object identified by the objectId specified using the parameter1 to parameter4 as the values of its input arguments and discards the values of the output arguments returned. |
| CallAction< | Calls the method identified by the methodId on the object identified by the objectId specified using the parameter1 to parameter5 as the values of its input arguments and discards the values of the output arguments returned. |
| CallAction< | Calls the method identified by the methodId on the object identified by the objectId specified using the parameter1 to parameter6 as the values of its input arguments and discards the values of the output arguments returned. |
| CallAction< | Calls the method identified by the methodId on the object identified by the objectId specified using the parameter1 to parameter7 as the values of its input arguments and discards the values of the output arguments returned. |
| CallAction< | Calls the method identified by the methodId on the object identified by the objectId specified using the parameter1 to parameter8 as the values of its input arguments and discards the values of the output arguments returned. |
Exceptions (all overloads)
| Exception | Condition |
|---|---|
| Argument | The objectId is a null identifier ( |
| Argument | The objectId or methodId is a null reference ( |
| OpcException | The client is not connected to the server, the service execution failed or the server reported a bad status code for the call or for one of its input arguments. |
| Object | The object has been disposed of. |
CallAction(OpcNodeId, OpcNodeId)
Calls the method identified by the methodId on the object identified by the objectId specified without any input arguments and discards the values of the output arguments returned.
public void CallAction(OpcNodeId objectId, OpcNodeId methodId)Public Sub CallAction(objectId As OpcNodeId, methodId As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
objectId | OpcNodeId | The OpcNodeId of the object on which the method is to be called. |
methodId | OpcNodeId | The OpcNodeId of the method to call. |
CallAction<T>(OpcNodeId, OpcNodeId, T)
Calls the method identified by the methodId on the object identified by the objectId specified using the parameter as the value of its input argument and discards the values of the output arguments returned.
public void CallAction<T>(OpcNodeId objectId, OpcNodeId methodId, T parameter)Public Sub CallAction(Of T)(
objectId As OpcNodeId,
methodId As OpcNodeId,
parameter As T)Type parameters
| Name | Description |
|---|---|
T | The type of the parameter. |
Parameters
| Name | Type | Description |
|---|---|---|
objectId | OpcNodeId | The OpcNodeId of the object on which the method is to be called. |
methodId | OpcNodeId | The OpcNodeId of the method to call. |
parameter | T | The value to pass as the input argument of the method. |
CallAction<T1, T2>(OpcNodeId, OpcNodeId, T1, T2)
Calls the method identified by the methodId on the object identified by the objectId specified using the parameter1 and parameter2 as the values of its input arguments and discards the values of the output arguments returned.
public void CallAction<T1, T2>(
OpcNodeId objectId,
OpcNodeId methodId,
T1 parameter1,
T2 parameter2)Public Sub CallAction(Of T1, T2)(
objectId As OpcNodeId,
methodId As OpcNodeId,
parameter1 As T1,
parameter2 As T2)Type parameters
| Name | Description |
|---|---|
T1 | The type of the parameter1. |
T2 | The type of the parameter2. |
Parameters
| Name | Type | Description |
|---|---|---|
objectId | OpcNodeId | The OpcNodeId of the object on which the method is to be called. |
methodId | OpcNodeId | The OpcNodeId of the method to call. |
parameter1 | T1 | The value to pass as the first input argument of the method. |
parameter2 | T2 | The value to pass as the second input argument of the method. |
CallAction<T1, T2, T3>(OpcNodeId, OpcNodeId, T1, T2, T3)
Calls the method identified by the methodId on the object identified by the objectId specified using the parameter1 to parameter3 as the values of its input arguments and discards the values of the output arguments returned.
public void CallAction<T1, T2, T3>(
OpcNodeId objectId,
OpcNodeId methodId,
T1 parameter1,
T2 parameter2,
T3 parameter3)Public Sub CallAction(Of T1, T2, T3)(
objectId As OpcNodeId,
methodId As OpcNodeId,
parameter1 As T1,
parameter2 As T2,
parameter3 As T3)Type parameters
| Name | Description |
|---|---|
T1 | The type of the parameter1. |
T2 | The type of the parameter2. |
T3 | The type of the parameter3. |
Parameters
| Name | Type | Description |
|---|---|---|
objectId | OpcNodeId | The OpcNodeId of the object on which the method is to be called. |
methodId | OpcNodeId | The OpcNodeId of the method to call. |
parameter1 | T1 | The value to pass as the first input argument of the method. |
parameter2 | T2 | The value to pass as the second input argument of the method. |
parameter3 | T3 | The value to pass as the third input argument of the method. |
CallAction<T1, T2, T3, T4>(OpcNodeId, OpcNodeId, T1, T2, T3, T4)
Calls the method identified by the methodId on the object identified by the objectId specified using the parameter1 to parameter4 as the values of its input arguments and discards the values of the output arguments returned.
public void CallAction<T1, T2, T3, T4>(
OpcNodeId objectId,
OpcNodeId methodId,
T1 parameter1,
T2 parameter2,
T3 parameter3,
T4 parameter4)Public Sub CallAction(Of T1, T2, T3, T4)(
objectId As OpcNodeId,
methodId As OpcNodeId,
parameter1 As T1,
parameter2 As T2,
parameter3 As T3,
parameter4 As T4)Type parameters
| Name | Description |
|---|---|
T1 | The type of the parameter1. |
T2 | The type of the parameter2. |
T3 | The type of the parameter3. |
T4 | The type of the parameter4. |
Parameters
| Name | Type | Description |
|---|---|---|
objectId | OpcNodeId | The OpcNodeId of the object on which the method is to be called. |
methodId | OpcNodeId | The OpcNodeId of the method to call. |
parameter1 | T1 | The value to pass as the first input argument of the method. |
parameter2 | T2 | The value to pass as the second input argument of the method. |
parameter3 | T3 | The value to pass as the third input argument of the method. |
parameter4 | T4 | The value to pass as the fourth input argument of the method. |
CallAction<T1, T2, T3, T4, T5>(OpcNodeId, OpcNodeId, T1, T2, T3, T4, T5)
Calls the method identified by the methodId on the object identified by the objectId specified using the parameter1 to parameter5 as the values of its input arguments and discards the values of the output arguments returned.
public void CallAction<T1, T2, T3, T4, T5>(
OpcNodeId objectId,
OpcNodeId methodId,
T1 parameter1,
T2 parameter2,
T3 parameter3,
T4 parameter4,
T5 parameter5)Public Sub CallAction(Of T1, T2, T3, T4, T5)(
objectId As OpcNodeId,
methodId As OpcNodeId,
parameter1 As T1,
parameter2 As T2,
parameter3 As T3,
parameter4 As T4,
parameter5 As T5)Type parameters
| Name | Description |
|---|---|
T1 | The type of the parameter1. |
T2 | The type of the parameter2. |
T3 | The type of the parameter3. |
T4 | The type of the parameter4. |
T5 | The type of the parameter5. |
Parameters
| Name | Type | Description |
|---|---|---|
objectId | OpcNodeId | The OpcNodeId of the object on which the method is to be called. |
methodId | OpcNodeId | The OpcNodeId of the method to call. |
parameter1 | T1 | The value to pass as the first input argument of the method. |
parameter2 | T2 | The value to pass as the second input argument of the method. |
parameter3 | T3 | The value to pass as the third input argument of the method. |
parameter4 | T4 | The value to pass as the fourth input argument of the method. |
parameter5 | T5 | The value to pass as the fifth input argument of the method. |
CallAction<T1, T2, T3, T4, T5, T6>(OpcNodeId, OpcNodeId, T1, T2, T3, T4, T5, T6)
Calls the method identified by the methodId on the object identified by the objectId specified using the parameter1 to parameter6 as the values of its input arguments and discards the values of the output arguments returned.
public void CallAction<T1, T2, T3, T4, T5, T6>(
OpcNodeId objectId,
OpcNodeId methodId,
T1 parameter1,
T2 parameter2,
T3 parameter3,
T4 parameter4,
T5 parameter5,
T6 parameter6)Public Sub CallAction(Of T1, T2, T3, T4, T5, T6)(
objectId As OpcNodeId,
methodId As OpcNodeId,
parameter1 As T1,
parameter2 As T2,
parameter3 As T3,
parameter4 As T4,
parameter5 As T5,
parameter6 As T6)Type parameters
| Name | Description |
|---|---|
T1 | The type of the parameter1. |
T2 | The type of the parameter2. |
T3 | The type of the parameter3. |
T4 | The type of the parameter4. |
T5 | The type of the parameter5. |
T6 | The type of the parameter6. |
Parameters
| Name | Type | Description |
|---|---|---|
objectId | OpcNodeId | The OpcNodeId of the object on which the method is to be called. |
methodId | OpcNodeId | The OpcNodeId of the method to call. |
parameter1 | T1 | The value to pass as the first input argument of the method. |
parameter2 | T2 | The value to pass as the second input argument of the method. |
parameter3 | T3 | The value to pass as the third input argument of the method. |
parameter4 | T4 | The value to pass as the fourth input argument of the method. |
parameter5 | T5 | The value to pass as the fifth input argument of the method. |
parameter6 | T6 | The value to pass as the sixth input argument of the method. |
CallAction<T1, T2, T3, T4, T5, T6, T7>(OpcNodeId, OpcNodeId, T1, T2, T3, T4, T5, T6, T7)
Calls the method identified by the methodId on the object identified by the objectId specified using the parameter1 to parameter7 as the values of its input arguments and discards the values of the output arguments returned.
public void CallAction<T1, T2, T3, T4, T5, T6, T7>(
OpcNodeId objectId,
OpcNodeId methodId,
T1 parameter1,
T2 parameter2,
T3 parameter3,
T4 parameter4,
T5 parameter5,
T6 parameter6,
T7 parameter7)Public Sub CallAction(Of T1, T2, T3, T4, T5, T6, T7)(
objectId As OpcNodeId,
methodId As OpcNodeId,
parameter1 As T1,
parameter2 As T2,
parameter3 As T3,
parameter4 As T4,
parameter5 As T5,
parameter6 As T6,
parameter7 As T7)Type parameters
| Name | Description |
|---|---|
T1 | The type of the parameter1. |
T2 | The type of the parameter2. |
T3 | The type of the parameter3. |
T4 | The type of the parameter4. |
T5 | The type of the parameter5. |
T6 | The type of the parameter6. |
T7 | The type of the parameter7. |
Parameters
| Name | Type | Description |
|---|---|---|
objectId | OpcNodeId | The OpcNodeId of the object on which the method is to be called. |
methodId | OpcNodeId | The OpcNodeId of the method to call. |
parameter1 | T1 | The value to pass as the first input argument of the method. |
parameter2 | T2 | The value to pass as the second input argument of the method. |
parameter3 | T3 | The value to pass as the third input argument of the method. |
parameter4 | T4 | The value to pass as the fourth input argument of the method. |
parameter5 | T5 | The value to pass as the fifth input argument of the method. |
parameter6 | T6 | The value to pass as the sixth input argument of the method. |
parameter7 | T7 | The value to pass as the seventh input argument of the method. |
CallAction<T1, T2, T3, T4, T5, T6, T7, T8>(OpcNodeId, OpcNodeId, T1, T2, T3, T4, T5, T6, T7, T8)
Calls the method identified by the methodId on the object identified by the objectId specified using the parameter1 to parameter8 as the values of its input arguments and discards the values of the output arguments returned.
public void CallAction<T1, T2, T3, T4, T5, T6, T7, T8>(
OpcNodeId objectId,
OpcNodeId methodId,
T1 parameter1,
T2 parameter2,
T3 parameter3,
T4 parameter4,
T5 parameter5,
T6 parameter6,
T7 parameter7,
T8 parameter8)Public Sub CallAction(Of T1, T2, T3, T4, T5, T6, T7, T8)(
objectId As OpcNodeId,
methodId As OpcNodeId,
parameter1 As T1,
parameter2 As T2,
parameter3 As T3,
parameter4 As T4,
parameter5 As T5,
parameter6 As T6,
parameter7 As T7,
parameter8 As T8)Type parameters
| Name | Description |
|---|---|
T1 | The type of the parameter1. |
T2 | The type of the parameter2. |
T3 | The type of the parameter3. |
T4 | The type of the parameter4. |
T5 | The type of the parameter5. |
T6 | The type of the parameter6. |
T7 | The type of the parameter7. |
T8 | The type of the parameter8. |
Parameters
| Name | Type | Description |
|---|---|---|
objectId | OpcNodeId | The OpcNodeId of the object on which the method is to be called. |
methodId | OpcNodeId | The OpcNodeId of the method to call. |
parameter1 | T1 | The value to pass as the first input argument of the method. |
parameter2 | T2 | The value to pass as the second input argument of the method. |
parameter3 | T3 | The value to pass as the third input argument of the method. |
parameter4 | T4 | The value to pass as the fourth input argument of the method. |
parameter5 | T5 | The value to pass as the fifth input argument of the method. |
parameter6 | T6 | The value to pass as the sixth input argument of the method. |
parameter7 | T7 | The value to pass as the seventh input argument of the method. |
parameter8 | T8 | The value to pass as the eighth input argument of the method. |

