Ahmed Emad
Ahmed Emad

Reputation: 560

Windows 8 Store app : Background task interval between reexecution

when i read about Windows 8 store app i found that on MSDN :

Supporting your app with background tasks

CPU usage is limited as follows:

If App not on lock screen : CPU usage quota ( 1 second) &
Refresh time (2 hours )

If App on the lock screen: CPU usage quota ( 2 hours ) &
Refresh time (15 minutes)

does that mean that i can't run background task every (10 ) miuntes ? only i will restricted with minimum (15) minutes ?

Upvotes: 0

Views: 564

Answers (1)

JP Alioto
JP Alioto

Reputation: 45117

That's correct. See the TimeTrigger class docs ...

Note If FreshnessTime is set to less than 15 minutes, an exception is thrown when attempting to register the background task.

There is a detailed discussion of this in the Introduction to Background Tasks whitepaper.

Upvotes: 1

Related Questions