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