This documentation is archived and is not being maintained.
WebProcessStatistics.ThreadCount Property
.NET Framework (current version)
Gets the total count of the process threads.
Namespace:
System.Web.ManagementAssembly:
System.Web (in System.Web.dll)
Public ReadOnly Property ThreadCount As Integer
Property Value
Type:
System.Int32The total count of the process threads.
The count refers to the managed and unmanaged threads.
The following code example shows how to get the ThreadCount value.
Public Function GetThreadCount() As String
' Get the thread count.
Return String.Format( _
"Thread count: {0}", _
processStatistics.ThreadCount.ToString())
End Function 'GetThreadCount
.NET Framework
Available since 2.0
Return to top