Skip to content

Reference

OpcMethodExecuteCallback Delegate

Performs the tasks necessary to implement the logic associated with a specific method using the context and inputArguments specified.

Reference

OpcMethodExecuteCallback Delegate ​

since v2.9

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0

Performs the tasks necessary to implement the logic associated with a specific method using the context and inputArguments specified.

Syntax ​

csharp
public delegate void OpcMethodExecuteCallback(
    OpcMethodContext context,
    IList<object> inputArguments,
    IList<object> outputArguments)
vbnet
Public Delegate Sub OpcMethodExecuteCallback(
    context As OpcMethodContext,
    inputArguments As IList(Of Object),
    outputArguments As IList(Of Object))

Parameters ​

NameTypeDescription
contextOpcMethodContextThe OpcMethodContext which provides the contextual information required to execute the method.
inputArgumentsIList<Object>The generic list of object values to use / respect during the execution of the method.
outputArgumentsIList<Object>The generic list of object values to use for out, ref (in Visual Basic ByRef) and returned values.

Remarks ​

Any OPC UA related result information is to be set using the Result property of the context.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.9–v2.59