Search This Blog

Archive

Check out these Pages

yangonairportonline.com

yangonairportonline.com

Contact

lynnnayko@gmail.com

Delegate.Invoke/BeginInvoke or Control.Invoke/BeginInvoke

Delegate.Invoke/BeginInvoke or Control.Invoke/BeginInvoke
  • Delegate.Invoke: Executes synchronously, on the same thread.
  • Delegate.BeginInvoke: Executes asynchronously, on a threadpool thread.
  • Control.Invoke: Executes on the UI thread, but calling thread waits for completion before continuing.
  • Control.BeginInvoke: Executes on the UI thread, and calling thread doesn't wait for completion.
This answer did help solve my issue which has been banging my head for hours.