UiSynchronizationContext.Current Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Note: This API is now obsolete.

Gets the synchronization context for the current thread.

Namespace:   System.Net
Assembly:  System.Net (in System.Net.dll)

[ObsoleteAttribute("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", 
public static SynchronizationContext Current { get; set; }

Property Value

Type: System.Threading.SynchronizationContext

Returns SynchronizationContext.

The synchronization context for the current thread.

.NET Framework
Available since 4.5
Return to top