Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

UiSynchronizationContext.Current Property

.NET Framework 4.6 and 4.5

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.", 
	true)]
public static SynchronizationContext Current { get; set; }

Property Value

Type: System.Threading.SynchronizationContext
Returns SynchronizationContext.
The synchronization context for the current thread.

.NET Framework

Obsolete (does not compile) in 4.5.2 and later
Show:
© 2015 Microsoft