System.Diagnostics.PerformanceCounter.CounterName Property

Gets or sets the name of the performance counter that is associated with this System.Diagnostics.PerformanceCounter instance.

Syntax

[System.ComponentModel.DefaultValue("")]
[System.ComponentModel.ReadOnly(true)]
[System.ComponentModel.RecommendedAsConfigurable(true)]
[System.ComponentModel.TypeConverter("System.Diagnostics.Design.CounterNameConverter, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public string CounterName { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

You can get a list of available pre-existing counters from the Windows Performance Manager’s tp://go.microsoft.com/fwlink/p/?LinkId=257854.

Requirements

Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0