ILogSource.AddListener Method

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

Syntax

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ILogSource Interface

Microsoft.SolverFoundation.Common Namespace