Universal Windows Service Class Library

Trigger.End Method 

Signals the triggers in static trigger list that it should stop it's work.

public static void End();


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

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

The static trigger list will be used for global trigger which could be used from different objects.

For an example source code see the Add method.

See Also

Trigger Class | uws.Triggers Namespace