Share via


SimplexSolver.AddListener Method

[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)

Syntax

'Declaration
Public Overridable Function AddListener ( _
    listener As TraceListener, _
    ids As LogIdSet _
) As Boolean
public virtual bool AddListener(
    TraceListener listener,
    LogIdSet ids
)
public:
virtual bool AddListener(
    TraceListener^ listener, 
    LogIdSet ids
)
abstract AddListener : 
        listener:TraceListener * 
        ids:LogIdSet -> bool 
override AddListener : 
        listener:TraceListener * 
        ids:LogIdSet -> bool 
public function AddListener(
    listener : TraceListener, 
    ids : LogIdSet
) : boolean

Parameters

Return Value

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

Implements

ILogSource.AddListener(TraceListener, LogIdSet)

.NET Framework Security

See Also

Reference

SimplexSolver Class

Microsoft.SolverFoundation.Solvers Namespace