## ParallelOptions::set_MaxDegreeOfParallelism method


Sets the maximum degree of parallelism enabled by this [ParallelOptions](../) instance.

```cpp
void System::Threading::Tasks::ParallelOptions::set_MaxDegreeOfParallelism(int32_t value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | int32_t | The maximum number of concurrent tasks (must be positive). |

## See Also

* Class [ParallelOptions](../)
* Namespace [System::Threading::Tasks](../../)
* Library [Aspose.PDF for C++](../../../)
