<PackageReference Include="NETStandard.Library" Version="2.0.0" />

System.Diagnostics.Tracing.EventSource

public class EventSource : IDisposable
public static Guid CurrentThreadActivityId { get; }

public Guid Guid { get; }

public string Name { get; }

public EventSourceSettings Settings { get; }

protected EventSource()

protected EventSource(bool throwOnEventWriteErrors)

protected EventSource(EventSourceSettings settings)

protected EventSource(EventSourceSettings settings, string[] traits)

public EventSource(string eventSourceName)

public EventSource(string eventSourceName, EventSourceSettings config)

public EventSource(string eventSourceName, EventSourceSettings config, string[] traits)

public static string GenerateManifest(Type eventSourceType, string assemblyPathToIncludeInManifest)

public static string GenerateManifest(Type eventSourceType, string assemblyPathToIncludeInManifest, EventManifestOptions flags)

public static Guid GetGuid(Type eventSourceType)

public static string GetName(Type eventSourceType)

public static void SendCommand(EventSource eventSource, EventCommand command, IDictionary<string, string> commandArguments)

public static void SetCurrentThreadActivityId(Guid activityId)

public static void SetCurrentThreadActivityId(Guid activityId, out Guid oldActivityThatWillContinue)

public void Dispose()

protected virtual void Dispose(bool disposing)

public string GetTrait(string key)

public bool IsEnabled()

public bool IsEnabled(EventLevel level, EventKeywords keywords)

public bool IsEnabled(EventLevel level, EventKeywords keywords, EventChannel channel)

protected virtual void OnEventCommand(EventCommandEventArgs command)

public void Write(string eventName)

public void Write(string eventName, EventSourceOptions options)

public void Write<T>(string eventName, T data)

public void Write<T>(string eventName, EventSourceOptions options, T data)

public void Write<T>(string eventName, ref EventSourceOptions options, ref T data)

public void Write<T>(string eventName, ref EventSourceOptions options, ref Guid activityId, ref Guid relatedActivityId, ref T data)

protected void WriteEvent(int eventId)

protected void WriteEvent(int eventId, byte[] arg1)

protected void WriteEvent(int eventId, int arg1)

protected void WriteEvent(int eventId, int arg1, int arg2)

protected void WriteEvent(int eventId, int arg1, int arg2, int arg3)

protected void WriteEvent(int eventId, int arg1, string arg2)

protected void WriteEvent(int eventId, long arg1)

protected void WriteEvent(int eventId, long arg1, byte[] arg2)

protected void WriteEvent(int eventId, long arg1, long arg2)

protected void WriteEvent(int eventId, long arg1, long arg2, long arg3)

protected void WriteEvent(int eventId, long arg1, string arg2)

protected void WriteEvent(int eventId, object[] args)

protected void WriteEvent(int eventId, string arg1)

protected void WriteEvent(int eventId, string arg1, int arg2)

protected void WriteEvent(int eventId, string arg1, int arg2, int arg3)

protected void WriteEvent(int eventId, string arg1, long arg2)

protected void WriteEvent(int eventId, string arg1, string arg2)

protected void WriteEvent(int eventId, string arg1, string arg2, string arg3)

protected void WriteEventCore(int eventId, int eventDataCount, EventData* data)

protected void WriteEventWithRelatedActivityId(int eventId, Guid relatedActivityId, object[] args)

protected void WriteEventWithRelatedActivityIdCore(int eventId, Guid* relatedActivityId, int eventDataCount, EventData* data)