DeactivationReason Enumeration
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Lists the reasons why an application was terminated. This is used by the Reason property of the DeactivatedEventArgs object when the Deactivated event is raised.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
| Member name | Description | |
|---|---|---|
| UserAction | The user took an action that caused the application to be deactivated. | |
| PowerSavingModeOn | Power saving mode on the phone is active and the phone’s battery went below the minimum threshold. | |
| ApplicationAction | The application performed an action that caused it to be terminated. | |
| ResourcesUnavailable | The system does not have sufficient resources for the application to continue running. |
Show: