AddListener Method
Collapse the table of content
Expand the table of content

ILogSource.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.]

Returns a value that indicates whether a listener is added to the list of listeners.

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

bool AddListener(
	TraceListener listener,
	LogIdSet ids
)

Parameters

listener
Type: System.Diagnostics.TraceListener
The listener that monitors trace and debug output.
ids
Type: Microsoft.SolverFoundation.Common.LogIdSet
A set of logging IDs.

Return Value

Type: System.Boolean
true if a listener is added to the list of listeners; otherwise, false.

Show:
© 2016 Microsoft