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

UiSynchronizationContext.ManagedUiThreadId Property

.NET Framework 4.6 and 4.5

Note: This API is now obsolete.

Gets a unique identifier for the current managed 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 int ManagedUiThreadId { get; set; }

Property Value

Type: System.Int32
Returns Int32.
An integer that represents a unique identifier for this managed thread.

.NET Framework

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