Skip to main content
.NET Framework Class Library
EnvironmentCurrentManagedThreadId Property

Gets a unique identifier for the current managed thread.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)
Public Shared ReadOnly Property CurrentManagedThreadId As [%$TOPIC/hh472265_en-us_VS_110_1_0_0_0_0%]
public static [%$TOPIC/hh472265_en-us_VS_110_1_0_1_0_0%] CurrentManagedThreadId { get; }
static property [%$TOPIC/hh472265_en-us_VS_110_1_0_2_0_0%] CurrentManagedThreadId {
	[%$TOPIC/hh472265_en-us_VS_110_1_0_2_0_1%] get ();
static member CurrentManagedThreadId : [%$TOPIC/hh472265_en-us_VS_110_1_0_3_0_0%] with get
static function get CurrentManagedThreadId () : [%$TOPIC/hh472265_en-us_VS_110_1_0_4_0_0%]

Property Value

Type: SystemInt32
An integer that represents a unique identifier for this managed thread.
Version Information

.NET Framework

Supported in: 4.6, 4.5

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8