IControllable.ExecuteCommand(Int32, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.