Click or drag to resize
HealthMonitoringLogHelperRegisterCounter Method (String, ActionCounter, IPerformanceCounter)

Note: This API is now obsolete.

Registers the given counter update method

Namespace: CMS.HealthMonitoring
Assembly: CMS.HealthMonitoring (in CMS.HealthMonitoring.dll) Version: 10.0.0
Syntax
C#
[ObsoleteAttribute("Use RegisterCounter(string, Action<Counter>) or RegisterCounter(string, IPerformanceCounter).")]
public static void RegisterCounter(
	string key,
	Action<Counter> updateMethod,
	IPerformanceCounter underlyingCounter
)

Parameters

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