You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Load the BackgroundTaskWinMainComSample_CS solution.
In MainWindow.xaml.cs, change the new TimeTrigger(15, false) to be a new ApplicationTrigger().
Run the program.
When registration = builder.Register(); is called (in MainWindow.xaml.cs), a ComException is thrown (caught by the catch block on line 113).
This exception doesn't happen when you run it the the TimeTrigger.
Is there a way to get ApplicationTriggers to work?
The text was updated successfully, but these errors were encountered:
Load the BackgroundTaskWinMainComSample_CS solution.
In MainWindow.xaml.cs, change the
new TimeTrigger(15, false)
to be anew ApplicationTrigger()
.Run the program.
When
registration = builder.Register();
is called (in MainWindow.xaml.cs), a ComException is thrown (caught by the catch block on line 113).This exception doesn't happen when you run it the the TimeTrigger.
Is there a way to get ApplicationTriggers to work?
The text was updated successfully, but these errors were encountered: