## ThreadPool::SetMaxThreads method


Ställer in antalet trådar som ägs av poolen.

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| wt | int | Maximalt antal arbetstrådar. |
| cpt | int | Maximalt antal [IO](../../../system.io/) trådar. |

### ReturnValue

True om parametrarna accepterades, annars false.

## Se även

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