TcHmiSrvExtHost.exec Method (Context, Command)

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

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

Syntax

C#

public 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.

Implements

ITcHmiSrvExtHost.exec(Context, Command)

Reference

TcHmiSrvExtHost Class

exec Overload

TcHmiSrv Namespace