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