ParallelOptions Properties
From Task Parallel System.Threading
|
|
| .NET Framework Class Library |
| ParallelOptions Properties |
| ParallelOptions Class See Also Send Feedback |
The ParallelOptions type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| CancellationToken |
Gets or sets the CancellationToken
associated with this ParallelOptions instance.
| |
| MaxDegreeOfParallelism |
Gets or sets the maximum degree of parallelism enabled by this ParallelOptions instance.
| |
| TaskScheduler |
Gets or sets the TaskScheduler
associated with this ParallelOptions instance. Setting this property to null
indicates that the current scheduler should be used.
|