Specifies the maximum number of concurrent threads to use when tests are run in parallel.

Namespace:  Gallio.Framework.Pattern
Assembly:  Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
public static int DegreeOfParallelism { get; set; }
Visual Basic (Declaration)
Public Shared Property DegreeOfParallelism As Integer

Field Value

The degree of parallelism. Defaults to ProcessorCount or 2, whichever is greater.

Exceptions

ExceptionCondition
System..::.ArgumentOutOfRangeExceptionThrown if value is less than 1.

See Also