AlgebraContext.ThreadCountLimit Property

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the policy limit on threading.

Namespace:  Microsoft.SolverFoundation.Common
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

public static int ThreadCountLimit { get; set; }

Property Value

Type: System.Int32
The policy limit.

The ThreadCountLimit property cannot be set outside of the range between one and the ProcessorCount value. Values are silently bounded at those limits.

ThreadCountLimit = int.Parse(args[n]);