SingleThreadedTestSynchronizationContext sealed class SingleThreadedTestSynchronizationContext : SynchronizationContext, IDisposable Documentation Code public SingleThreadedTestSynchronizationContext() public void Dispose() public void Run() May be called from any thread, but may only be called once. public void ShutDown() May be called from any thread.