Click here to Skip to main content
15,915,093 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
what difference between Apartments and Windows Forms and Synchronization Contexts?
Posted

If you google for MTA and STA you will get some very detailed information about apartments.

Synchronisation contexts are used for passing across threads (such as invoking a method via a SendOrPostCallback delegate to the UI thread). Also have a look at AsyncOperation and AsyncOperationManager (these use Syncronization contexts under the hood) as used internally by the BackgroundWorker.
 
Share this answer
 
You must learn to Google: a very quick search using "Apartments and Windows Forms and Synchronization Contexts" copied and pasted from your question gave this: http://www.scribd.com/doc/7336837/36/Apartments-and-Windows-Forms[^] (among others).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900