ParallelOptions Properties

Task Parallel System.Threading

The ParallelOptions type exposes the following members.

Properties

  NameDescription
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.

See Also