Reputation: 127
I have been developing a windows store app, where I need something like
(I have written the function to perform and return http request)
I referred to this link but I do not know where to put those code in my program. Should I create a Background task separately?
Upvotes: 1
Views: 385
Reputation: 14172
You don't need to set up a background task. Simply make a call to StartPeriodicUpdate
during your app initialization (perhaps after all of your UI has loaded). Windows will then continually update the tile on behalf of your app using the provided interval.
Upvotes: 1