Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

When Control.BeginInvoke is called, the following sequence of events occur:

  1. The delegate object is added to the message queue of the UI thread.
  2. The UI thread checks the message queue for pending delegate objects.
  3. When the delegate object is at the front of the message queue, the UI thread dequeues it and executes it.
  4. The delegate object's return value (if any) is discarded.