DiagnosticCounter.EventSource Property

Definition

Gets the EventSource that this counter is attached to.

public System.Diagnostics.Tracing.EventSource EventSource { get; }

Property Value

The EventSource that this counter is attached to.

Applies to

Product Versions
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Standard 2.1