次の方法で共有


TraceControlSettings.AddTraceListener(TraceListener) Method

Definition

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.

Applies to