WebProcessStatistics.ThreadCount Propriedade

Definição

Obtém a contagem total de threads de processo.

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

Valor de Propriedade

A contagem total dos fios de processo.

Exemplos

O seguinte exemplo de código mostra como obter o ThreadCount valor.

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

Observações

A contagem refere-se aos fios geridos e não geridos.

Aplica-se a