This documentation is archived and is not being maintained.

SynchronizationContext.Current Property

Gets the synchronization context for the current thread.

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)

Public Shared ReadOnly Property Current As SynchronizationContext
Dim value As SynchronizationContext

value = SynchronizationContext.Current

/** @property */
public static SynchronizationContext get_Current ()

public static function get Current () : SynchronizationContext

Not applicable.

Property Value

A SynchronizationContext object representing the current synchronization context.

This property is useful for propagating a synchronization context from one thread to another.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0