SendCommand() public method

Send a command to the given destination thread.
public SendCommand ( int threadId, [ command ) : void
threadId int
command [
return void
Example #1
0
 /// <summary>
 /// Send the Stop command.
 /// </summary>
 protected void SendStop()
 {
     // 'stop' command goes always from administrative thread to the current object.
     m_ctx.SendCommand(m_threadId, new Command(this, CommandType.Stop));
 }