Click or drag to resize

PerformanceCounter(String, String, String, String, String) Constructor

Initializes a new instance of the PerformanceCounter class.

Namespace: GSF.Diagnostics
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.257-beta+00aa2366fbb9ec75f636ebc7cfa610e3826a727c
Syntax
public PerformanceCounter(
	string categoryName,
	string counterName,
	string instanceName,
	string aliasName,
	string valueUnit
)
View Source

Parameters

categoryName  String
The name of the performance counter category (performance object) with which this performance counter is associated.
counterName  String
The name of the performance counter.
instanceName  String
The name of the performance counter category instance, or an empty string (""), if the category contains a single instance.
aliasName  String
The alias name for the PerformanceCounter object.
valueUnit  String
The measurement unit for the statistical values of the PerformanceCounter object.
See Also