private async Task<bool> DoWork(SuspendingOperation operation) { canContinue = true; while (canContinue) { Debug.WriteLine(DateTime.Now); LocalSettings.Values["Revoked"] = DateTime.Now.Ticks; await Task.Delay(1000); } return true; }
public SuspendStateMessage(SuspendingOperation operation) { Operation = operation; }
internal SuspendingEventArgs(SuspendingOperation operation) { SuspendingOperation = operation; }