-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added WinAppSDK background task sample #366
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Godly Alias <[email protected]>
/azp run SamplesCI-BackgroundTask |
Commenter does not have sufficient privileges for PR 366 in repo microsoft/WindowsAppSDK-Samples |
1 similar comment
Commenter does not have sufficient privileges for PR 366 in repo microsoft/WindowsAppSDK-Samples |
Signed-off-by: Godly Alias <[email protected]>
Sample as described in #333 |
@godlytalias please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the docs we need to add the appropriate copyright notice and license text to the headers.
For C#/C++ files (*h, *.cpp, *.cs, *.idl):
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
For XAML files (*.xaml):
<!-- Copyright (c) Microsoft Corporation.
Licensed under the MIT License. -->
/azp run SamplesCI-BackgroundTask |
No pipelines are associated with this pull request. |
Description
This sample application demonstrates how a WinUI3 app can register Background Task. In this sample usage of ToastNotificationHistoryChangedTrigger is demonstrated which can be easily changed to any supported triggers. On clicking the button on the UI, background task gets registered and a toast notification will get pushed, when user deletes this toast notification background task gets triggered and push another toast notification to notify that BackgroundTask have been triggered.
Target Release
1.5
Checklist
/azp run SamplesCI-<FeatureName>
to have the CI build run on my branch for each of my FeatureName my PR is modifying. This must be done on the latest commit on the PR before merging to ensure the build is up to date and accurate. Warning: the PR will not block automatically if this is not run due to '/azp run' limitation on triggering more than 10 pipelines.