Skip to content

Commit 2b54f6a

Browse files
Add WPF/Win32 disclaimer to UWP background tasks page
WPF developers landing here attempt IBackgroundTask and fail silently. Added a NOTE callout at the top pointing to the correct alternatives: WAS background tasks (MSIX), Task Scheduler, .NET Worker Services. Fixes Gap 3 from ADO #568630. Co-authored-by: Copilot <[email protected]>
1 parent 9d42865 commit 2b54f6a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

uwp/launch-resume/support-your-app-with-background-tasks.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ ms.localizationpriority: medium
99
---
1010
# Support your app with background tasks
1111

12+
> [!NOTE]
13+
> This page covers the UWP background task model (`IBackgroundTask`, `BackgroundTaskBuilder`). This model **does not apply to WPF or Windows Forms apps**. For WPF and Windows Forms apps, see [Background tasks (Windows App SDK)](/windows/apps/windows-app-sdk/applifecycle/background-tasks) (requires MSIX packaging), [Task Scheduler](/windows/win32/taskschd/task-scheduler-start-page) (no packaging required), or [.NET Worker Services](/dotnet/core/extensions/workers) (no packaging required).
1214
1315
The topics in this section show you how to make lightweight code run in the background in response to triggers. You can use background tasks to provide functionality when your app is suspended or not running. You can also use background tasks for real-time communication apps like VOIP, mail, and IM.
1416

0 commit comments

Comments
 (0)