## ThreadPool::SetMaxThreads method


プールが所有するスレッド数を設定します。

```cpp
static bool System::Threading::ThreadPool::SetMaxThreads(int wt, int cpt)
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| wt | int | ワーカースレッドの最大数。 |
| cpt | int | [IO](../../../system.io/) スレッドの最大数。 |

### ReturnValue

パラメーターが受け入れられた場合は true、そうでない場合は false。

## 参照

* Class [ThreadPool](../)
* Namespace [System::Threading](../../)
* Library [Aspose.Page for C++](../../../)
