Freigeben über


ITracer.ShouldTrace(TraceEventType) Method

Definition

Determines if trace listeners should be called, based on the trace event type.

public:
 bool ShouldTrace(System::Diagnostics::TraceEventType eventType);
public bool ShouldTrace (System.Diagnostics.TraceEventType eventType);
abstract member ShouldTrace : System.Diagnostics.TraceEventType -> bool
Public Function ShouldTrace (eventType As TraceEventType) As Boolean

Parameters

eventType
TraceEventType

The type of event to test

Returns

True if the trace listeners should be called; otherwise, false.

Applies to