Delegate.Invoke/BeginInvoke or Control.Invoke/BeginInvoke
On Technology
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.
No Comment to " Delegate.Invoke/BeginInvoke or Control.Invoke/BeginInvoke "
Post a Comment