PerformanceCounter(String, String, String, String, String, Single, Boolean) Constructor

Initializes a new instance of the PerformanceCounter class.

Definition

Namespace: Gemstone.Diagnostics
Assembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.128 -- Release Build+d9d157c80da59365061f9bf4a5d1ecd0f0496e1b
public PerformanceCounter(
	string categoryName,
	string counterName,
	string instanceName,
	string aliasName,
	string valueUnit,
	float valueDivisor,
	bool readOnly = true
)

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.
valueDivisor  Single
The divisor to be applied to the statistical values of the PerformanceCounter object.
readOnly  Boolean  (Optional)
Flag that determines if this counter is read-only.

See Also