System.Threading.SynchronizationContext Class

Provides the basic functionality for propagating a synchronization context in various synchronization models.

See Also: SynchronizationContext Members


public class SynchronizationContext


The System.Threading.SynchronizationContext class is a base class that provides a free-threaded context with no synchronization.

The purpose of the synchronization model implemented by this class is to allow the internal asynchronous/synchronous operations of the common language runtime to behave properly with different synchronization models. This model also simplifies some of the requirements that managed applications have had to follow in order to work correctly under different synchronization environments.

Providers of synchronization models can extend this class and provide their own implementations for these methods. 

For more information about synchronization contexts, see the article tp:// the MSDN Magazine.


Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions:,
Since: .NET 2.0