ThreadPool.ThreadCount Propriété

Définition

Obtient le nombre de threads de pool de threads qui existent actuellement.

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

Valeur de propriété

Nombre de threads de pool de threads qui existent actuellement.

Remarques

Si une implémentation de pool de threads peut avoir différents types de threads, le nombre inclut tous les types.

S’applique à