ITracer.ShouldTrace(TraceEventType) 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.
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.