Environment.CurrentManagedThreadId Property

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:
© 2015 Microsoft