Click or drag to resize
HealthMonitoringLogHelperRegisterCounter Method
Registers the given counter update method

Namespace: CMS.HealthMonitoring
Assembly: CMS.HealthMonitoring (in CMS.HealthMonitoring.dll) Version: 8.2.23
Syntax
C#
public static void RegisterCounter(
	string key,
	Action<Counter> updateMethod,
	IPerformanceCounter underlyingCounter = null
)

Parameters

key
Type: SystemString
Counter key
updateMethod
Type: SystemActionCounter
Update method
underlyingCounter (Optional)
Type: CMS.CoreIPerformanceCounter
Underlying counter
See Also