Skip to content

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

9 overloads · since v2.8

OverloadDescription
CallAction(OpcNodeId, OpcNodeId)since v2.8Calls 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<T>(OpcNodeId, OpcNodeId, T)since v2.8Calls 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<T1, T2>(OpcNodeId, OpcNodeId, T1, T2)since v2.8Calls 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<T1, T2, T3>(OpcNodeId, OpcNodeId, T1, T2, T3)since v2.8Calls 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<T1, T2, T3, T4>(OpcNodeId, OpcNodeId, T1, T2, T3, T4)since v2.8Calls 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<T1, T2, T3, T4, T5>(OpcNodeId, OpcNodeId, T1, T2, T3, T4, T5)since v2.8Calls 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<T1, T2, T3, T4, T5, T6>(OpcNodeId, OpcNodeId, T1, T2, T3, T4, T5, T6)since v2.8Calls 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<T1, T2, T3, T4, T5, T6, T7>(OpcNodeId, OpcNodeId, T1, T2, T3, T4, T5, T6, T7)since v2.8Calls 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<T1, T2, T3, T4, T5, T6, T7, T8>(OpcNodeId, OpcNodeId, T1, T2, T3, T4, T5, T6, T7, T8)since v2.8Calls 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)

ExceptionCondition
ArgumentExceptionThe objectId is a null identifier (see IsNull).
ArgumentNullExceptionThe objectId or methodId is a null reference (Nothing in Visual Basic).
OpcExceptionThe 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.
ObjectDisposedExceptionThe object has been disposed of.

CallAction(OpcNodeId, OpcNodeId) ​

since v2.8

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.

csharp
public void CallAction(OpcNodeId objectId, OpcNodeId methodId)
vbnet
Public Sub CallAction(objectId As OpcNodeId, methodId As OpcNodeId)

Parameters

NameTypeDescription
objectIdOpcNodeIdThe OpcNodeId of the object on which the method is to be called.
methodIdOpcNodeIdThe OpcNodeId of the method to call.

CallAction<T>(OpcNodeId, OpcNodeId, T) ​

since v2.8

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.

csharp
public void CallAction<T>(OpcNodeId objectId, OpcNodeId methodId, T parameter)
vbnet
Public Sub CallAction(Of T)(
    objectId As OpcNodeId,
    methodId As OpcNodeId,
    parameter As T)

Type parameters

NameDescription
TThe type of the parameter.

Parameters

NameTypeDescription
objectIdOpcNodeIdThe OpcNodeId of the object on which the method is to be called.
methodIdOpcNodeIdThe OpcNodeId of the method to call.
parameterTThe value to pass as the input argument of the method.

CallAction<T1, T2>(OpcNodeId, OpcNodeId, T1, T2) ​

since v2.8

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.

csharp
public void CallAction<T1, T2>(
    OpcNodeId objectId,
    OpcNodeId methodId,
    T1 parameter1,
    T2 parameter2)
vbnet
Public Sub CallAction(Of T1, T2)(
    objectId As OpcNodeId,
    methodId As OpcNodeId,
    parameter1 As T1,
    parameter2 As T2)

Type parameters

NameDescription
T1The type of the parameter1.
T2The type of the parameter2.

Parameters

NameTypeDescription
objectIdOpcNodeIdThe OpcNodeId of the object on which the method is to be called.
methodIdOpcNodeIdThe OpcNodeId of the method to call.
parameter1T1The value to pass as the first input argument of the method.
parameter2T2The value to pass as the second input argument of the method.

CallAction<T1, T2, T3>(OpcNodeId, OpcNodeId, T1, T2, T3) ​

since v2.8

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.

csharp
public void CallAction<T1, T2, T3>(
    OpcNodeId objectId,
    OpcNodeId methodId,
    T1 parameter1,
    T2 parameter2,
    T3 parameter3)
vbnet
Public Sub CallAction(Of T1, T2, T3)(
    objectId As OpcNodeId,
    methodId As OpcNodeId,
    parameter1 As T1,
    parameter2 As T2,
    parameter3 As T3)

Type parameters

NameDescription
T1The type of the parameter1.
T2The type of the parameter2.
T3The type of the parameter3.

Parameters

NameTypeDescription
objectIdOpcNodeIdThe OpcNodeId of the object on which the method is to be called.
methodIdOpcNodeIdThe OpcNodeId of the method to call.
parameter1T1The value to pass as the first input argument of the method.
parameter2T2The value to pass as the second input argument of the method.
parameter3T3The value to pass as the third input argument of the method.

CallAction<T1, T2, T3, T4>(OpcNodeId, OpcNodeId, T1, T2, T3, T4) ​

since v2.8

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.

csharp
public void CallAction<T1, T2, T3, T4>(
    OpcNodeId objectId,
    OpcNodeId methodId,
    T1 parameter1,
    T2 parameter2,
    T3 parameter3,
    T4 parameter4)
vbnet
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

NameDescription
T1The type of the parameter1.
T2The type of the parameter2.
T3The type of the parameter3.
T4The type of the parameter4.

Parameters

NameTypeDescription
objectIdOpcNodeIdThe OpcNodeId of the object on which the method is to be called.
methodIdOpcNodeIdThe OpcNodeId of the method to call.
parameter1T1The value to pass as the first input argument of the method.
parameter2T2The value to pass as the second input argument of the method.
parameter3T3The value to pass as the third input argument of the method.
parameter4T4The value to pass as the fourth input argument of the method.

CallAction<T1, T2, T3, T4, T5>(OpcNodeId, OpcNodeId, T1, T2, T3, T4, T5) ​

since v2.8

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.

csharp
public void CallAction<T1, T2, T3, T4, T5>(
    OpcNodeId objectId,
    OpcNodeId methodId,
    T1 parameter1,
    T2 parameter2,
    T3 parameter3,
    T4 parameter4,
    T5 parameter5)
vbnet
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

NameDescription
T1The type of the parameter1.
T2The type of the parameter2.
T3The type of the parameter3.
T4The type of the parameter4.
T5The type of the parameter5.

Parameters

NameTypeDescription
objectIdOpcNodeIdThe OpcNodeId of the object on which the method is to be called.
methodIdOpcNodeIdThe OpcNodeId of the method to call.
parameter1T1The value to pass as the first input argument of the method.
parameter2T2The value to pass as the second input argument of the method.
parameter3T3The value to pass as the third input argument of the method.
parameter4T4The value to pass as the fourth input argument of the method.
parameter5T5The 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) ​

since v2.8

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.

csharp
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)
vbnet
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

NameDescription
T1The type of the parameter1.
T2The type of the parameter2.
T3The type of the parameter3.
T4The type of the parameter4.
T5The type of the parameter5.
T6The type of the parameter6.

Parameters

NameTypeDescription
objectIdOpcNodeIdThe OpcNodeId of the object on which the method is to be called.
methodIdOpcNodeIdThe OpcNodeId of the method to call.
parameter1T1The value to pass as the first input argument of the method.
parameter2T2The value to pass as the second input argument of the method.
parameter3T3The value to pass as the third input argument of the method.
parameter4T4The value to pass as the fourth input argument of the method.
parameter5T5The value to pass as the fifth input argument of the method.
parameter6T6The 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) ​

since v2.8

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.

csharp
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)
vbnet
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

NameDescription
T1The type of the parameter1.
T2The type of the parameter2.
T3The type of the parameter3.
T4The type of the parameter4.
T5The type of the parameter5.
T6The type of the parameter6.
T7The type of the parameter7.

Parameters

NameTypeDescription
objectIdOpcNodeIdThe OpcNodeId of the object on which the method is to be called.
methodIdOpcNodeIdThe OpcNodeId of the method to call.
parameter1T1The value to pass as the first input argument of the method.
parameter2T2The value to pass as the second input argument of the method.
parameter3T3The value to pass as the third input argument of the method.
parameter4T4The value to pass as the fourth input argument of the method.
parameter5T5The value to pass as the fifth input argument of the method.
parameter6T6The value to pass as the sixth input argument of the method.
parameter7T7The 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) ​

since v2.8

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.

csharp
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)
vbnet
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

NameDescription
T1The type of the parameter1.
T2The type of the parameter2.
T3The type of the parameter3.
T4The type of the parameter4.
T5The type of the parameter5.
T6The type of the parameter6.
T7The type of the parameter7.
T8The type of the parameter8.

Parameters

NameTypeDescription
objectIdOpcNodeIdThe OpcNodeId of the object on which the method is to be called.
methodIdOpcNodeIdThe OpcNodeId of the method to call.
parameter1T1The value to pass as the first input argument of the method.
parameter2T2The value to pass as the second input argument of the method.
parameter3T3The value to pass as the third input argument of the method.
parameter4T4The value to pass as the fourth input argument of the method.
parameter5T5The value to pass as the fifth input argument of the method.
parameter6T6The value to pass as the sixth input argument of the method.
parameter7T7The value to pass as the seventh input argument of the method.
parameter8T8The value to pass as the eighth input argument of the method.