ThreadPool.ThreadCount プロパティ

定義

現在存在しているスレッド プールのスレッド数を取得します。

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

プロパティ値

Int32

現在存在するスレッド プール スレッドの数。

注釈

スレッド プールの実装に異なる種類のスレッドがある場合、カウントにはすべての型が含まれます。

適用対象