目前我正在研究某种分析 sdk,我们测量会话长度。但是在 WP 中,当我在 PhoneApplicationService.Closing 事件处理程序中发送 http 请求时,即使我等待异步操作,它也永远不会完成。
我在https://www.codeplex.com/上检查了 Google Analytics 的实施,但遇到了评论// there is no way to get a deferral in WP so this will not actually happen until after we return to the app
那么如何完成该请求呢?或者什么是准确和实时测量会话长度的完美方法。
谢谢