<PackageReference Include="System.ServiceModel.Primitives" Version="6.2.0" />

System.Runtime.Diagnostics.EtwDiagnosticTrace

namespace System.Runtime.Diagnostics { internal sealed class EtwDiagnosticTrace : DiagnosticTraceBase { public bool IsEtwProviderEnabled { get; } public bool IsEnd2EndActivityTracingEnabled { get; } public void SetEnd2EndActivityTracingEnabled(bool isEnd2EndTracingEnabled); public void Event(ref EventDescriptor eventDescriptor, string description); public void SetAndTraceTransfer(Guid newId, bool emitTransfer); public void TraceTransfer(Guid newId); public void WriteTraceSource(ref EventDescriptor eventDescriptor, string description, TracePayload payload); public TracePayload GetSerializedPayload(object source, TraceRecord traceRecord, Exception exception); public TracePayload GetSerializedPayload(object source, TraceRecord traceRecord, Exception exception, bool getServiceReference); public bool IsEtwEventEnabled(ref EventDescriptor eventDescriptor); public bool IsEtwEventEnabled(ref EventDescriptor eventDescriptor, bool fullCheck); public EtwDiagnosticTrace(); } }