Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
UiSynchronizationContext Class
Collapse the table of content
Expand the table of content

UiSynchronizationContext Class

.NET Framework 4.6 and 4.5

Note: This API is now obsolete.

Provides the synchronization context for the managed UI used in synchronization models.


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 class UiSynchronizationContext

The UiSynchronizationContext type exposes the following members.

Public propertyStatic memberCurrent Obsolete. Gets the synchronization context for the current thread.
Public propertyStatic memberManagedUiThreadId Obsolete. Gets a unique identifier for the current managed thread.

.NET Framework

Obsolete (does not compile) in 4.5.2 and later

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft