Universal Windows App Background Task “has exited with code 1 (0x1)”
问题 Scratching my head on this one. I've got a background task in my UWP application which is registered to run every 15 minutes (using TimeTrigger ) and whenever the internet becomes available (using a SystemTrigger ). I know for a fact that these are registered correctly as both appear in the "Lifecycle Events" when debugging using visual studio. Nevertheless, my code for registering them is below: bool registered1 = false; bool registered2 = false; foreach (var task in