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

System.Runtime.Diagnostics.EtwDiagnosticTrace

public bool IsEnd2EndActivityTracingEnabled { get; }

public bool IsEtwProviderEnabled { get; }

public void Event(ref EventDescriptor eventDescriptor, string description)

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 void SetAndTraceTransfer(Guid newId, bool emitTransfer)

public void SetEnd2EndActivityTracingEnabled(bool isEnd2EndTracingEnabled)

public void TraceTransfer(Guid newId)

public void WriteTraceSource(ref EventDescriptor eventDescriptor, string description, TracePayload payload)