ProcessThread.Id 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得執行緒的唯一識別碼。
public:
property int Id { int get(); };
public int Id { get; }
member this.Id : int
Public ReadOnly Property Id As Integer
屬性值
與特定執行緒相關的唯一識別碼。
備註
作業系統會重複使用執行緒識別碼,該識別碼僅在執行緒的生命週期內識別執行緒。