/// <summary> /// Raises the CounterStopped event /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected virtual void OnCounterStopped(object sender, PerformanceCounterEventArgs e) { try { if (this.CounterStopped != null) { this.CounterStopped(sender, e); } } catch (Exception ex) { Debug.WriteLine(ex); } }
/// <summary> /// Raises the CounterStopped event /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected virtual void OnCounterStopped(object sender, PerformanceCounterEventArgs e) { try { if (this.CounterStopped != null) this.CounterStopped(sender, e); } catch(Exception ex) { Debug.WriteLine(ex); } }