static void UpdateLevel(EtwDiagnosticTrace trace) { if (trace == null) { return; } if (TraceCore.ActionItemCallbackInvokedIsEnabled(trace) || TraceCore.ActionItemScheduledIsEnabled(trace)) { trace.SetEnd2EndActivityTracingEnabled(true); } }
static void UpdateLevel(EtwDiagnosticTrace trace) { if (trace == null) { return; } if (TraceCore.ActionItemCallbackInvokedIsEnabled(trace) || TraceCore.ActionItemScheduledIsEnabled(trace)) { trace.SetEnd2EndActivityTracingEnabled(true); } }