CommandCallback

A callback invoked when a command is ready.

The parameter command holds the command’s content in a CommandResult structure.

The userData parameter matches the value set when subscribing (see SubscribeCommand(String,CommandCallback,IntPtr)).

Any memory held by the CommandResult is invalidated when the callback returns.

Parameters