¡@

Home 

c# Programming Glossary: windowsformssynchronizationcontext.autoinstall

Await and SynchronizationContext in a managed component hosted by an unmanaged app

http://stackoverflow.com/questions/19535147/await-and-synchronizationcontext-in-a-managed-component-hosted-by-an-unmanaged-a

context with the default SynchronizationContext provided WindowsFormsSynchronizationContext.AutoInstall is true which is so by default . If it is not a bug then it's.. SynchronizationContext.SetSynchronizationContext null WindowsFormsSynchronizationContext.AutoInstall false Debug.Print Test 2 Test static void DumpSyncContext.. .Name null message static void Test Debug.Print WindowsFormsSynchronizationContext.AutoInstall 0 WindowsFormsSynchronizationContext.AutoInstall var ctx1 SynchronizationContext.Current..