Added TaskGroup property support to BackgroundTaskBuilder API#4994
Added TaskGroup property support to BackgroundTaskBuilder API#4994godlytalias merged 1 commit intomainfrom
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.