SolvingEventArgs.Cancel Method

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

Stops the solver that fired an event.

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

Syntax

'Declaration
Public Sub Cancel
public void Cancel()
public:
void Cancel()
member Cancel : unit -> unit 
public function Cancel()

Remarks

After the Cancel method is called on a solver, that solver is stopped. The solver returns the best non-optimal result.

.NET Framework Security

See Also

Reference

SolvingEventArgs Class

Microsoft.SolverFoundation.Services Namespace