Compartilhar via


Tracer.ShouldTrace(TraceEventType) Method

Definition

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

public:
 virtual bool ShouldTrace(System::Diagnostics::TraceEventType eventType);
public bool ShouldTrace (System.Diagnostics.TraceEventType eventType);
abstract member ShouldTrace : System.Diagnostics.TraceEventType -> bool
override this.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.

Implements

Applies to