ThreadPool.SetThreadCount(Int32,Int32) Method (Microsoft.DirectX.DirectPlay)

Warning: This method is deprecated. Deprecated components of Microsoft DirectX 9.0 for Managed Code are considered obsolete. While these components are still supported in this release of DirectX 9.0 for Managed Code, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.

Changes the number of threads for a specified processor or all processors. Deprecated.

Definition

Visual Basic Public Sub SetThreadCount( _
    ByVal processorNumber As Integer, _
    ByVal numThreads As Integer _
)
C# public void SetThreadCount(
    int processorNumber,
    int numThreads
);
C++ public:
void SetThreadCount(
    int processorNumber,
    int numThreads
);
JScript public function SetThreadCount(
    processorNumber : int,
    numThreads : int
);

Parameters

processorNumber System.Int32
numThreads System.Int32