System.Threading.SynchronizationContext Class

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

See Also: SynchronizationContext Members

Syntax

public class SynchronizationContext

Remarks

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://msdn.microsoft.com/magazine/gg598924.aspxin the MSDN Magazine.

Requirements

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