SolvingEventArgs.CancelAll Method

Solver Foundation 3.0

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

Stop an entire solve process.

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

public void CancelAll()

After the CancelAll method is called on a solver, all solvers are stopped. The solvers return their best non-optimal result. However, if no optimal solution has been found but there is a feasible solution, the result status is set to feasible.