简体   繁体   English

WP8应用程序关闭时,在后台任务中使用http请求保存文件

[英]WP8 Save file with http request in Background task when the app closes

I would like to store data in the dropbox via http request when the app closes. 我想在应用关闭时通过http请求将数据存储在Dropbox中。 The time of 10 seconds in the Application_Closing function are not enough. Application_Closing函数中的10秒时间是不够的。 Is there a background task that runs longer after closing the app? 关闭应用程序后是否有运行更长时间的后台任务?

Thank you 谢谢

Did you check out the Background file transfer Agent? 您是否查看了背景文件传输代理? You can find a detailed description on MSDN , note that there are some restrictions to file size depending onto the network connection. 您可以在MSDN上找到详细说明,请注意,根据网络连接,文件大小有一些限制。

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

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