protected override void OnBackgroundActivated(BackgroundActivatedEventArgs args) { Stage2Notifications.Start(args.TaskInstance); }
public static void Start(IBackgroundTaskInstance instance) { Stage2Notifications backgroundActivity = new Stage2Notifications(); backgroundActivity.Run(instance); }