如何知道 Windows Phone 7 中的哪个活动正在运行? [英] How to know the which activity is ruuning in windows phone 7?

查看:25
本文介绍了如何知道 Windows Phone 7 中的哪个活动正在运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何知道 Activity 当前是否正在 Windows Phone 7 中运行?

How to know if an activity is currently running in windows phone 7?

推荐答案

截至目前,还没有 API 来获取当前正在运行的任务,因为假设是您自己调用了任务,因此无需以编程方式检索此任务.同样重要的是要注意,除非您使用本机代码或互操作,否则不支持与 Microsoft.Phone.Tasks 中定义的应用程序以外的其他应用程序进行交互的方式

As of now there is no API to get the currently running task as the assumption is that you invoked the task yourself and thus have no need to retrieve this programmaticaly. It is also important to note that unless you are working with native code or interop there is no supported way to interact with other applications other than those defined in Microsoft.Phone.Tasks

这篇关于如何知道 Windows Phone 7 中的哪个活动正在运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆