ProcessThread.Id 屬性

定義

取得執行緒的唯一識別項。

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

屬性值

與特定執行緒相關的唯一識別項。

備註

操作系統會重複使用線程標識碼,其只會在其存留期間識別線程。

適用於