Browse by Tags

All Tags » WinForms Async » WinForms » CLR Internals (RSS)

[WinForms] Full details of InvokeRequired/Invoke/BeginInvoke, common usage scenarios, and some issues you might not know about.

This is a really big article on all of the operational details of the WinForms marshalling pump (aka the plumbing for Invoke and BeginInvoke). WinForms UI Thread Invokes: An In-Depth Review of Invoke/BeginInvoke/InvokeRequred Abstract: Marshalling the...

Got strange messages in your queue? Maybe Winforms is using it to synchronize your async code onto the UI thread...

I think the fact that BeginInvoke/Invoke/EndInvoke just work is enough for most people. It know it has been enough for me. I didn't even question why it worked, though I did know it was using the message pump, just not exactly how it was using the message...
More Posts