System.Threading.Tasks.ParallelOptions Members

The members of System.Threading.Tasks.ParallelOptions are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Threading.Tasks.ParallelOptions class.

Public Properties

CancellationTokenSystem.Threading.CancellationToken.

Gets or sets the System.Threading.CancellationToken associated with this System.Threading.Tasks.ParallelOptions instance.

MaxDegreeOfParallelismint.

Gets or sets the maximum degree of parallelism enabled by this System.Threading.Tasks.ParallelOptions instance.

TaskSchedulerTaskScheduler.

Gets or sets the System.Threading.Tasks.TaskScheduler associated with this System.Threading.Tasks.ParallelOptions instance. Setting this property to null indicates that the current scheduler should be used.