private OnSuspending ( object sender, SuspendingEventArgs e ) : void | ||
sender | object | The source of the suspend request. |
e | SuspendingEventArgs | Details about the suspend request. |
Résultat | void |
private void OnSuspending(object sender, SuspendingEventArgs e)
{
var deferral = e.SuspendingOperation.GetDeferral();
//TODO: Save application state and stop any background activity
deferral.Complete();
}