UiSynchronizationContext::Current Property

.NET Framework (current version)
 
Note: This API is now obsolete.

Gets the synchronization context for the current thread.

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

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

Property Value

Type: System.Threading::SynchronizationContext^

Returns SynchronizationContext.

The synchronization context for the current thread.

.NET Framework
Available since 4.5
Return to top
Show: