Task.Factory.StartNew() runs on wrong thread if Modal dialog opened Task.Factory.StartNew() runs on wrong thread if Modal dialog opened multithreading multithreading

Task.Factory.StartNew() runs on wrong thread if Modal dialog opened


You are on the right track. In COM, when you are running in a single-threaded apartment, it is just all the same thread...