Inheritance: ISuspendingOperation
		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;
		}
Example #2
0
 public SuspendStateMessage(SuspendingOperation operation) {
     Operation = operation;
 }
Example #3
0
 internal SuspendingEventArgs(SuspendingOperation operation)
 {
     SuspendingOperation = operation;
 }