Universal Windows Service Class Library

ApplicationList.Clear Method (Boolean)

Remove all entries from list.

public void Clear(
   bool shutdown
);

Parameters

shutdown
True if computer is shutting down else false.

Remarks

For each application in list the the application working thread would be stopped and the list will be cleared.

If the given parameter is true the OnShutdownWork method is called instead of OnStopWork.

See Also

ApplicationList Class | uws Namespace | ApplicationList.Clear Overload List | Application