[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.
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
'Declaration Public Sub CancelAll
public void CancelAll()
public: void CancelAll()
member CancelAll : unit -> unit
public function 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.