Skip to content

Reference

OpcMethodCommands.ExecuteAsyncDelegate Delegate

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

Reference

OpcMethodCommands.ExecuteAsyncDelegate Delegate ​

since v2.24

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

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

Syntax ​

csharp
public delegate Task<OpcResult> OpcMethodCommands.ExecuteAsyncDelegate(
    OpcMethodContext context,
    IList<object> inputArguments,
    IList<object> outputArguments)
vbnet
Public Delegate Function OpcMethodCommands.ExecuteAsyncDelegate(
    context As OpcMethodContext,
    inputArguments As IList(Of Object),
    outputArguments As IList(Of Object)) As Task(Of OpcResult)

Parameters ​

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

Returns ​

Task<OpcResult>

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

Applies to ​

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