Thread.IsAlive 屬性

定義

取得值,指出目前執行緒的執行狀態。Gets a value indicating the execution status of the current thread.

public:
 property bool IsAlive { bool get(); };
public bool IsAlive { get; }
member this.IsAlive : bool
Public ReadOnly Property IsAlive As Boolean

屬性值

如果這個執行緒已經啟動但還沒有正常終止或者中止,則為 true,否則為 falsetrue if this thread has been started and has not terminated normally or aborted; otherwise, false.

適用於