Share via


TraceControlSettings.AddTraceListener Method (TraceListener)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Adds a listener to the trace listen array

Namespace:   Microsoft.Xrm.Tooling.Connector
Assembly:  Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)

Syntax

public static bool AddTraceListener(
    TraceListener listenerToAdd
)
Public Shared Function AddTraceListener (
    listenerToAdd As TraceListener
) As Boolean

Parameters

Return Value

Type: System.Boolean

true on success, false on fail.

See Also

TraceControlSettings Class
Microsoft.Xrm.Tooling.Connector Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright