IControllable.ExecuteCommand(Int32, Object) Method

Definition

A function to execute a control command.

public System.Threading.Tasks.Task<object> ExecuteCommand (int command, object arg);
abstract member ExecuteCommand : int * obj -> System.Threading.Tasks.Task<obj>
Public Function ExecuteCommand (command As Integer, arg As Object) As Task(Of Object)

Parameters

command
Int32

A serial number of the command.

arg
Object

An opaque command argument.

Returns

The value returned from the command handler.

Applies to