AddListener Method

SimplexSolver.AddListener 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.]

Adds a tracing listener for solve attempts..

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

public virtual bool AddListener(
	TraceListener listener,
	LogIdSet ids
)

Parameters

listener
Type: System.Diagnostics.TraceListener
A listener.
ids
Type: Microsoft.SolverFoundation.Common.LogIdSet
The identifiers for events that are listening.

Return Value

Type: System.Boolean
true if the tracing listener is added; otherwise, false.

Implements

ILogSource.AddListener(TraceListener, LogIdSet)

Show:
© 2016 Microsoft