Universal Windows Service Class Library

Monitor.End Method 

Signals the monitors in static monitor list that it should stop it's work.

public static void End();


This function tells the monitors to stop it's work. All temporary resources will be given free. No further event calls are made but the callback functions for all monitor events are already stored.

When this function was called the static Begin method restart the monitors which fires the monitor events again. The stored callback functions are used furthermore.

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 Add method.

See Also

Monitor Class | uws.Monitors Namespace