This topic has not yet been rated - Rate this topic

DeactivatedEventArgs.Reason Property

April 12, 2014

Indicates the reason that the application was deactivated.

Namespace:  Microsoft.Phone.Shell
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
public DeactivationReason Reason { get; }

Property Value

Type: Microsoft.Phone.Shell.DeactivationReason
The reason the application was deactivated.

Applications can use the Reason property to determine why the application was deactivated and, when appropriate, alert the user with a ShellToast.

Windows Phone OS

Supported in: 8.1, 8.0

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.