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

System.Runtime.Diagnostics.DiagnosticTraceBase

abstract class DiagnosticTraceBase
namespace System.Runtime.Diagnostics { internal abstract class DiagnosticTraceBase { protected const string DefaultTraceListenerName = "Default"; protected const string TraceRecordVersion = "http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord"; protected static string AppDomainFriendlyName; protected string EventSourceName { get; set; } public bool TracingEnabled { get; } protected static string ProcessName { get; } protected static int ProcessId { get; } public static Guid ActivityId { get; set; } protected void AddDomainEventHandlersForCleanup(); protected static string CreateSourceString(object source); public static string XmlEncode(string text); protected static string StackTraceString(Exception exception); public abstract bool IsEnabled(); protected DiagnosticTraceBase(); } }