Click or drag to resize

PerformanceMonitorBaseAddCounter(String, String, String, String, String) Method

Adds a PerformanceCounter to be monitored.

Namespace: GSF.Diagnostics
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public void AddCounter(
	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