SolvingEventArgs.CancelAll Method

[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 Sub CancelAll
public void CancelAll()
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

See Also


SolvingEventArgs Class

Microsoft.SolverFoundation.Services Namespace