Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.21 KB

coreapplication_backgroundactivated.md

File metadata and controls

26 lines (17 loc) · 1.21 KB
-api-id -api-type
E:Windows.ApplicationModel.Core.CoreApplication.BackgroundActivated
winrt event

Windows.ApplicationModel.Core.CoreApplication.BackgroundActivated

-description

Fired when your app is activated by a background trigger.

-remarks

Register your background triggers with BackgroundTaskBuilder, but do not set the TaskEntryPoint. This will enable this event to fire when your trigger is signaled. The event handler has a BackgroundActivatedEventArgs parameter which contains everything that the IBackgroundTask.Run method delivers.

Tip

By the time an app enters the background state, none of its UI is visible.

-examples

-see-also

BackgroundActivatedEventArgs