Get SynchronizationContext from a given Thread
I seem not to find how to get the SynchronizationContext of a given Thread : Thread uiThread = UIConfiguration.UIThread; SynchronizationContext context = uiThread.Huh?; Why should I need that? Because I need to post to the UIThread from different spots all across the front end application. So I defined a static property in a class called UIConfiguration . I set this property in the Program.Main method: UIConfiguration.UIThread = Thread.CurrentThread; In that very moment I can be sure I have the right thread, however I cannot set a static property like UIConfiguration.SynchronizationContext =