Posts

Showing posts from July, 2015

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.  http://stackoverflow.com/questions/229554/whats-the-difference-between-invoke-and-begininvoke/229558#229558