简体   繁体   English

wp7中的后台代理的工作

[英]Working of Background Agents in wp7

I had a plenty of doubts regarding background agents in windows phone mango. 我对Windows Phone芒果中的后台代理有很多疑问。 From a post i read about the background agent but i am still confused with the working of background agents. 从帖子中,我了解了有关后台代理的信息,但是我仍然对后台代理的工作感到困惑。 I tried with MSDN but feel difficult to grasp the abstract. 我尝试过使用MSDN,但是很难掌握摘要。 Please any one suggest me a good blog or book to start learning the tech. 请任何人为我推荐一本不错的博客或书籍,以开始学习这项技术。

I prefer Peter Torr's bog for start learning background agent, In his blog he explained all information related with BA with a simple example. 我更喜欢Peter Torr的沼泽来开始学习背景知识,他在他的博客中通过一个简单的示例解释了与BA相关的所有信息。 If possible watch the keynote on Mix 2011 by Peter. 如有可能,请观看Peter在Mix 2011上的主题演讲。

http://blogs.msdn.com/b/ptorr/archive/2011/07/11/background-agents-part-1-of-3.aspx http://blogs.msdn.com/b/ptorr/archive/2011/07/11/background-agents-part-1-of-3.aspx

This jump start has a good introduction to background tasks, and their limitations. 本快速入门很好地介绍了后台任务及其局限性。 It also comes with source code: 它还带有源代码:

http://channel9.msdn.com/Series/Mango-Jump-Start/Mango-Jump-Start-06-Windows-Phone-Multi-tasking--Background-Tasks http://channel9.msdn.com/Series/Mango-Jump-Start/Mango-Jump-Start-06-Windows-Phone-Multi-tasking--Background-Tasks

I advise downloading and watching the entire series if you want a bigger picture about development in Mango. 如果您想全面了解Mango的发展,我建议下载并观看整个系列。

Jesse Liberty's blog is also a good source for overviews and tutorials, he has a "Windows Phone Tutorials" link at the top. 杰西·利伯蒂(Jesse Liberty)的博客也是概述和教程的不错来源,他的顶部是“ Windows Phone教程”链接。 Here is the background agent overview: 这是后台代理概述:

http://jesseliberty.com/2011/10/05/background-agents/ http://jesseliberty.com/2011/10/05/background-agents/

Though I note that he mentions the period task runs for around 25 seconds, somewhere on MSDN I saw 15 seconds. 尽管我注意到他提到周期任务运行大约25秒,但在MSDN上的某个地方我看到了15秒。 Point being, you don't get long! 要点是,你不会长久!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM