ITcHmiSrvExtAsyncHost.ExecuteAsync Method (Context, CommandGroup)
Executes the specified CommandGroup inside any domain as an asynchronous operation.
Namespace: TcHmiSrv.Core
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0
Syntax
C#
Task<(ErrorValue , Context , CommandGroup )> ExecuteAsync(
Context context,
CommandGroup commands
)
Parameters
context |
Type: TcHmiSrv.Core.Context |
commands |
Type: TcHmiSrv.Core.CommandGroup |
Return Value
Type: Task.ValueTuple.ErrorValue, Context, CommandGroup..
A Task.TResult. that represents the asynchronous operation. The
Result of the Task.TResult. returns a ValueTuple.T1, T2, T3. containing HMI_SUCCESS if
executing the commands succeeded,
the Context
and the executed CommandGroup;
otherwise, any ErrorValue that best
describes which error has occurred.