System::Threading::Tasks::ParallelOptions class

ParallelOptions class

Stores options that configure the operation of methods on the Parallel class.

class ParallelOptions : public System::Object

Methods

MethodDescription
get_CancellationToken()Gets the CancellationToken associated with this ParallelOptions instance.
get_MaxDegreeOfParallelism()Gets the maximum degree of parallelism enabled by this ParallelOptions instance.
get_TaskScheduler()Gets the TaskScheduler associated with this ParallelOptions instance.
ParallelOptions()Constructs a ParallelOptions instance with default values.
set_CancellationToken(const CancellationToken&)Sets the CancellationToken associated with this ParallelOptions instance.
set_MaxDegreeOfParallelism(int32_t)Sets the maximum degree of parallelism enabled by this ParallelOptions instance.
set_TaskScheduler(const SharedPtr<TaskScheduler>&)Sets the TaskScheduler associated with this ParallelOptions instance.

See Also