TraceControlSettings.AddTraceListener(TraceListener) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a listener to the trace listen array
public:
static bool AddTraceListener(System::Diagnostics::TraceListener ^ listenerToAdd);
public static bool AddTraceListener (System.Diagnostics.TraceListener listenerToAdd);
static member AddTraceListener : System.Diagnostics.TraceListener -> bool
Public Shared Function AddTraceListener (listenerToAdd As TraceListener) As Boolean
Parameters
- listenerToAdd
- TraceListener
Trace Listener you wish to add
Returns
true on success, false on fail.