public void Execute(MessageDispatch dispatch) { // Add the data to the queue. this.messageQueue.Enqueue(dispatch); this.Wakeup(); }