WebProcessStatistics.ThreadCount Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
İşlem iş parçacıklarının toplam sayısını alır.
public:
property int ThreadCount { int get(); };
public int ThreadCount { get; }
member this.ThreadCount : int
Public ReadOnly Property ThreadCount As Integer
Özellik Değeri
İşlem iş parçacıklarının toplam sayısı.
Örnekler
Aşağıdaki kod örneğinde değerin nasıl alınacakları gösterilmektedir ThreadCount .
public string GetThreadCount()
{
// Get the thread count.
return (string.Format(
"Thread count: {0}",
processStatistics.ThreadCount.ToString()));
}
Public Function GetThreadCount() As String
' Get the thread count.
Return String.Format( _
"Thread count: {0}", _
processStatistics.ThreadCount.ToString())
End Function 'GetThreadCount
Açıklamalar
Sayı, yönetilen ve yönetilmeyen iş parçacıklarını ifade eder.