CurrentManagedThreadId Property
Collapse the table of content
Expand the table of content

Environment.CurrentManagedThreadId 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
Assembly:  mscorlib (in mscorlib.dll)

public static int CurrentManagedThreadId { get; }

Property Value

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

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft