Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Samples/BackgroundTasksSample/cs/Win32App/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ static async void ThreadProc()
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine("Registration completed for Time trigger event. The backgrond task runs every 15 mins");
Console.WriteLine("Pin the app to start and see how the tile is updated every time the task is triggered");

// This will result in "value out of expected range" error.
// It is failing in `toastnotificationactiontrigger.cpp` at `ToastNotificationActionTriggerFactory::ActivateInstance
RegisterBackgroundTask("ToastNotificationTriggerTest", new ToastNotificationActionTrigger());
}

/// <summary>
Expand All @@ -80,4 +84,4 @@ public static void RegisterBackgroundTask(String triggerName, IBackgroundTrigger
builder.Register();
}
}
}
}