I wish to execute a function at an interval of 1 or so minutes. How can I achieve this in Windows Phone 8.
I am not looking for background agents. The app will be running in the foreground. What are my options?
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
You can also use
ThreadPoolTimer
:Try this
One option may be to use DispatcherTimer.
Simply register a callback on the Tick event.
you can use the DispatcherTimer Class
Refer: (http://msdn.microsoft.com/en-us/library/system.windows.threading.dispatchertimer(v=vs.110).aspx)