}//end ctor public void Start() { if (!_run) { return; } try { MonitorStatus = MonitorStatus.Running; _usageMonitor?.Start(); _nhMonitor?.Start(); } catch (Exception e) { _genericLog.Error($"{_nameOfThis} - Exception while Starting {_nameOfThis}: {e.Message}"); _genericLog.Debug($"{_nameOfThis} - Exception while Starting {_nameOfThis}: {e.StackTrace}"); if (!ContinueOnError) { throw; } } }//end Start()
}//end ctor() public void Start() { MonitorStatus = MonitorStatus.Running; try { _stopwatch?.Start(); _nhMonitor?.Start(); } catch (Exception e) { _genericLog.Error($"{_nameOfThis} - Exception while Starting {_nameOfThis} regarding {_element}: {e.Message}"); _genericLog.Debug($"{_nameOfThis} - Exception while Starting {_nameOfThis} regarding {_element}: {e.StackTrace}"); if (!ContinueOnError) { throw; } } }//end Start()