CounterCreationData Class

Defines the counter type, name, and Help string for a custom counter.

Inheritance Hierarchy

  • System.Object
    • System.Diagnostics.CounterCreationData
Namespace: System.DiagnosticsAssembly: System in (System.dll)

Syntax

public class CounterCreationData 

The CounterCreationData type exposes the following members.

Constructors

Class Summary
public constructor CounterCreationData(String, String, PerformanceCounterType)
Initializes a new instance of the CounterCreationData class, to a counter of the specified type, using the specified counter name and Help strings.
public constructor CounterCreationData()
Initializes a new instance of the CounterCreationData class, to a counter of type NumberOfItems32, and with empty name and help strings.

Properties

Name Summary
public properties CounterHelp
Gets or sets the custom counter's description.
public properties CounterName
Gets or sets the name of the custom counter.
public properties CounterType
Gets or sets the performance counter type of the custom counter.