HealthMonitoringLogHelperRegisterCounter Method |
Registers the given counter update method
Namespace: CMS.HealthMonitoringAssembly: CMS.HealthMonitoring (in CMS.HealthMonitoring.dll) Version: 8.2.23
Syntax 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