Skip to Content
Windows Runtime via C#
book

Windows Runtime via C#

by Jeffrey Richter and Maarten van de Bospoort
November 2013
Intermediate to advanced content levelIntermediate to advanced
320 pages
10h 53m
English
Microsoft Press
Content preview from Windows Runtime via C#

Chapter 9. Background tasks

In Chapter 3 I explained how Windows Store apps have their threads suspended when not in the foreground. This prevents background apps from consuming battery power. In addition, it prevents apps the user is not interacting with from affecting the responsiveness of the foreground app. Windows provides Windows Store apps that have tremendously powerful features to stay current and provide the latest relevant information to users. We saw good examples in Chapter 8 when we examined how the system can update your tile or show a toast notification even when your app is suspended or terminated. In addition, in Chapter 7 I showed how your app could transfer large files even when in the background.

However, some apps need to ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Modernizing Your Windows Applications with the Windows App SDK and WinUI

Modernizing Your Windows Applications with the Windows App SDK and WinUI

Matteo Pagani, Marc Plogas
Pro C# 7: With .NET and .NET Core

Pro C# 7: With .NET and .NET Core

Andrew Troelsen, Philip Japikse
Windows Forms 2.0 Programming

Windows Forms 2.0 Programming

Chris Sells, Michael Weinhardt

Publisher Resources

ISBN: 9780735679269Purchase book