OpcMethodCommands.ExecuteAsyncDelegate Delegate

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll

Represents the async method that will be executed whenever the command defined is called.

C#

public delegate Task<OpcResult> OpcMethodCommands.ExecuteAsyncDelegate(OpcMethodContext context, IList<object> inputArguments, IList<object> outputArguments)


Parameters

context OpcMethodContext

The OpcMethodContext which provides the contextual information required to execute the async command.

inputArguments IList<Object>

The generic list of Object values to use / respect during the execution of the async method.

outputArguments IList<Object>

The generic list of Object values to use for out, ref (in Visual Basic ByRef) and returned values.


Returns

Tasks.Task<OpcResult>

The OpcResult which contains information about the outcome of the async invocation of the command.