ManagedThreadId Property
Collapse the table of content
Expand the table of content

Thread.ManagedThreadId Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets a unique identifier for the current, managed thread.

Namespace:  System.Threading
Assembly:  mscorlib (in mscorlib.dll)

public int ManagedThreadId { get; }

Property Value

Type: System.Int32
A unique identifier for this managed thread.

The value of the ManagedThreadId property does not vary over time, even if unmanaged code that hosts the common language runtime implements the thread as a fiber.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft