listmor.blogg.se

Microsoft account background task host
Microsoft account background task host










microsoft account background task host microsoft account background task host

MSDN Community Support | Feedback to us Get or Request Code Sample from Microsoft This option is preferable because launching the task within BackgroundTaskHost.exe is faster, uses fewer resources, and overall, provides better performance than launching the background task within the app.įor JavaScript apps, the executable attribute should not be specified because JavaScript apps are loaded in a web worker within the default host. It is not necessary for the system to change the app’s state.

microsoft account background task host

If a background task executes in the system-provided BackgroundTaskHost.exe, it is launched independently of the state of the app. Only background tasks that contain PushNotificationTrigger or ControlChannelTrigger task types can specify an executable other than BackgroundTaskHost.exe. In general, it depends on your programming language, background task types, or trigger type.įor C# and C++ apps, the background task is implemented in a class library, and this class library can run within the main app or in the system provided BackgroundTaskHost.exe.ĭifferent trigger types or background task types have different restrictions on where the background task can be hosted.īy default, the background task runs in the system provided BackgroundTaskHost.exe.












Microsoft account background task host