-
Notifications
You must be signed in to change notification settings - Fork 335
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 TaskGroup property support to BackgroundTaskBuilder API #4994
Conversation
Signed-off-by: godlytalias <godlytalias@yahoo.co.in>
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@godlytalias, please elaborate the purpose of the TaskGroup property. |
Its used for grouping the background tasks. So that apps can get all the tasks under that particular group using AllTasks API (https://learn.microsoft.com/en-us/uwp/api/windows.applicationmodel.background.backgroundtaskregistrationgroup.alltasks?view=winrt-26100) |
@godlytalias, One follow up question - is it possible the same background task registration group has both Windows and Microsoft namespace background tasks? If so, AllTasks sort of properties return correct value? |
It returns tasks registered by both namespace APIs as internally WinAppSDK API is calling platform SDK API only. Id, Name etc.. of the tasks will be the same |
Signed-off-by: godlytalias <godlytalias@yahoo.co.in>
TaskGroup property support has been added to the BackgroundTaskBuilder API.