Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DiagnosticCounter.DisplayName Property

Definition

Namespace:
System.Diagnostics.Tracing
Assemblies:
netstandard.dll, System.Diagnostics.Tracing.dll
Assembly:
System.Diagnostics.Tracing.dll
Assembly:
netstandard.dll
Source:
DiagnosticCounter.cs
Source:
DiagnosticCounter.cs
Source:
DiagnosticCounter.cs
Source:
DiagnosticCounter.cs
Source:
DiagnosticCounter.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets the display name of the counter.

public:
 property System::String ^ DisplayName { System::String ^ get(); void set(System::String ^ value); };
public string DisplayName { get; set; }
member this.DisplayName : string with get, set
Public Property DisplayName As String

Property Value

The display name of the counter.

Remarks

The DisplayName provides a more display friendly name for the consumer side of the metrics. For example, a counter named "gen-0-gc-count" is better displayed as "Gen 0 GC Count". To do so, DisplayName can be used to be reported as part of the payload.

Applies to


Feedback

Was this page helpful?