ProcessThread.Id Property

Definition

Gets the unique identifier of the thread.

public:
 property int Id { int get(); };
public int Id { get; }
member this.Id : int
Public ReadOnly Property Id As Integer

Property Value

The unique identifier associated with a specific thread.

Remarks

The operating system reuses thread identification numbers, which identify threads only during their lifetimes.

Applies to