In Windows 8.1 and WP 8.1, there was a slight difference between the way Background Agent used to work:
WinRT: In WinRT, in most cases the OS will not terminate the background agent when the background agent exhausts its quota. Instead it will simply suspend the agent and allow it to continue later. The suspension is done without any warning like an event being raised or callback called. The OS will not stop the background agent when it becomes idle (for example when waiting for a command to the server to respond).
Win Phone: In Win Phone, the OS will terminate the background agent when the background agent exhausts its quota. This termination will be done with no warning. In Win Phone, the OS will stop the background agent when the background agent is found to be idle . In this situation the OS will raise IBackgroundTaskInstance.Canceled.
My question is, is there any such difference between Windows 10 mobile and Windows 10 desktop?