Пример #1
0
 private void TaskInstanceCanceled(IBackgroundTaskInstance sender, BackgroundTaskCancellationReason reason)
 {
     motionDetector.Cleanup();
 }