ParallelExecutionMode Enumeration

Task Parallel System.Threading

The query execution mode is a hint that specifies how the system should handle performance trade-offs when parallelizing queries.

Namespace:  System.Linq
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Public Enumeration ParallelExecutionMode
C#
public enum ParallelExecutionMode

Members

Member nameDescription
Default
By default, the system will use algorithms for queries that are ripe for parallelism and will avoid algorithms with high overheads that will likely result in slow downs for parallel execution.
ForceParallelism
Parallelize the entire query, even if that means using high-overhead algorithms.

See Also