ITcHmiSrvExtHost.exec Method (Context, Command)

Executes a single Command in the domain of the specified Context.

Namespace:  TcHmiSrv
Assembly:  TcHmiSrvExtNet (in TcHmiSrvExtNet.dll) Version: 1.10.1018.48 (1.10.1018.48)

Syntax

C#

public virtual ErrorValue exec(
    Context ctx,
    Command cmd
)

Parameters

ctx

Type: TcHmiSrv.Context
The Context under which the Command should be executed.

cmd

Type: TcHmiSrv.Command
The Command to be executed.

Return Value

Type: ErrorValue
HMI_SUCCESS if executing the Command succeeded; otherwise, any ErrorValue that best describes which error has occurred.

Reference

ITcHmiSrvExtHost Class

exec Overload

TcHmiSrv Namespace