ITcHmiSrvExtAsyncHostExecuteAsync(Context, Command) Method

Executes a single Command in the domain of the specified Context as an asynchronous operation.


Namespace: TcHmiSrv.Core
Assembly: TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

Syntax

C#

Task<(ErrorValue , Context , Command )> ExecuteAsync(
    Context context,
    Command command
)

Parameters

context  Context

The Context under which the command should be executed.

command  Command

The Command to execute.

Return Value

Task ValueTuple ErrorValue, Context, Command
A TaskTResult that represents the asynchronous operation. The Result of the TaskTResult returns a ValueTupleT1, T2, T3 containing HMI_SUCCESS if executing the command succeeded, the Context and the executed Command; otherwise, any ErrorValue that best describes which error has occurred.

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

ITcHmiSrvExtAsyncHost Interface ExecuteAsync Overload TcHmiSrv.Core Namespace

Copyright © Beckhoff Automation GmbH & Co. KG