Signals the monitors in static monitor list that they should break and pause their work.
This function tells the monitors to pause their work. No further event calls are made but the callback functions for all monitor events are already stored.
To continue the monitors work call static Resume method.
The static monitor list will be used for monitors which could be used from different triggers or something else.
For an example source code see the example section below.
try { // Break all monitors in static monitor list Monitor.Break(); // Do something without running monitors myTempWorkMethod(); // Resume all monitors in static monitor list Monitor.Resume(); } catch (Exception ex) { Console.WriteLine(ex.Message); }
Monitor Class | uws.Monitors Namespace