ApplicationExecutionState :: Terminated和ApplicationExecutionState :: NotRunning之间有什么区别 [英] What is the difference between ApplicationExecutionState::Terminated and ApplicationExecutionState::NotRunning

查看:84
本文介绍了ApplicationExecutionState :: Terminated和ApplicationExecutionState :: NotRunning之间有什么区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很困惑 - 文档很少。 在样本中我看到了Terminated的测试,但为什么不用于NotRunning?我的期望是NotRunning是应用程序的初始状态 - 直到它加载,转换为Running和
然后转换为Suspended / Running / Suspended / Running等,直到它被运行时踢出并且然后它转换为终止。

I'm confused--the documentation is scarce.  In the samples I'm seeing the test for Terminated, but why not for NotRunning? My expectation is that NotRunning is the initial state of an application--until it loads, where it transitions to Running and then to Suspended/Running/Suspended/Running, etc., until it is kicked out by the runtime and then it transitions toTerminated.

 

任何人都可以澄清吗?

推荐答案

我将跟进以获取文档中的更多详细信息。感谢您指出这一点!

I'll follow-up to get more detail in the docs. Thanks for pointing this out!

已终止表示该应用程序先前已在会话中执行并正常终止。

Terminated means the application had previously executed in the session and terminated normally.

NotRunning表示该应用程序具有 尚未执行或已执行但意外终止(例如坠毁)。

NotRunning means the application has either not executed yet or had executed but terminated unexpectedly (crashed for example).

谢谢!

-David


这篇关于ApplicationExecutionState :: Terminated和ApplicationExecutionState :: NotRunning之间有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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