次の方法で共有


ThreadPool.GetThreadCount(Int32)

GetThreadCount メソッド

指定したプロセッサまたはすべてのプロセッサのスレッド数を取得する。

定義

Visual Basic Public Function GetThreadCount( _
    ByVal processorNumber As Integer _
) As Integer
C# public int GetThreadCount(
    int processorNumber
);
Managed C++ public: int GetThreadCount(
    int processorNumber
);
JScript public function GetThreadCount(
    processorNumber : int
) : int;

パラメータ

processorNumber System.Int32.

戻り値

System.Int32.

対象

ThreadPool

© 2002 Microsoft Corporation. All rights reserved. Terms of use.