
docs.microsoft.com/en-us/uwp/api/Windows.ApplicationModel.Background.DeviceUseTrigger
Preview meta tags from the docs.microsoft.com website.
Linked Hostnames
7- 5 links tolearn.microsoft.com
- 3 links todocs.microsoft.com
- 3 links togo.microsoft.com
- 2 links togithub.com
- 1 link toaka.ms
- 1 link totechcommunity.microsoft.com
- 1 link towww.microsoft.com
Thumbnail

Search Engine Appearance
DeviceUseTrigger Class (Windows.ApplicationModel.Background) - Windows apps
Represents an event that a Windows Runtime app can trigger to initiate a long-running operation with a device or sensor. DeviceUseTrigger lets your Windows Runtime app access sensors and peripheral devices in the background, even when your foreground app is suspended. For example, depending on where your app is running, it could use a background task to synchronize data with devices or monitor sensors. This class can be used in UWP app and Windows Phone 8.x app. However, a DeviceUseTrigger background task supports different APIs, and is subject to different policies, depending where it's running (PC or phone). To learn more about these differences, see Accessing sensors and devices from a background task. Important This trigger cannot be used with single-process background tasks. For a sample that shows how to use DeviceUseTrigger on a PC, see the Custom USB device sample. For a phone sample, see the Background Sensors sample.
Bing
DeviceUseTrigger Class (Windows.ApplicationModel.Background) - Windows apps
Represents an event that a Windows Runtime app can trigger to initiate a long-running operation with a device or sensor. DeviceUseTrigger lets your Windows Runtime app access sensors and peripheral devices in the background, even when your foreground app is suspended. For example, depending on where your app is running, it could use a background task to synchronize data with devices or monitor sensors. This class can be used in UWP app and Windows Phone 8.x app. However, a DeviceUseTrigger background task supports different APIs, and is subject to different policies, depending where it's running (PC or phone). To learn more about these differences, see Accessing sensors and devices from a background task. Important This trigger cannot be used with single-process background tasks. For a sample that shows how to use DeviceUseTrigger on a PC, see the Custom USB device sample. For a phone sample, see the Background Sensors sample.
DuckDuckGo
DeviceUseTrigger Class (Windows.ApplicationModel.Background) - Windows apps
Represents an event that a Windows Runtime app can trigger to initiate a long-running operation with a device or sensor. DeviceUseTrigger lets your Windows Runtime app access sensors and peripheral devices in the background, even when your foreground app is suspended. For example, depending on where your app is running, it could use a background task to synchronize data with devices or monitor sensors. This class can be used in UWP app and Windows Phone 8.x app. However, a DeviceUseTrigger background task supports different APIs, and is subject to different policies, depending where it's running (PC or phone). To learn more about these differences, see Accessing sensors and devices from a background task. Important This trigger cannot be used with single-process background tasks. For a sample that shows how to use DeviceUseTrigger on a PC, see the Custom USB device sample. For a phone sample, see the Background Sensors sample.
General Meta Tags
71- titleDeviceUseTrigger Class (Windows.ApplicationModel.Background) - Windows apps | Microsoft Learn
- charsetutf-8
- viewportwidth=device-width, initial-scale=1.0
- color-schemelight dark
- descriptionRepresents an event that a Windows Runtime app can trigger to initiate a long-running operation with a device or sensor. DeviceUseTrigger lets your Windows Runtime app access sensors and peripheral devices in the background, even when your foreground app is suspended. For example, depending on where your app is running, it could use a background task to synchronize data with devices or monitor sensors. This class can be used in UWP app and Windows Phone 8.x app. However, a DeviceUseTrigger background task supports different APIs, and is subject to different policies, depending where it's running (PC or phone). To learn more about these differences, see Accessing sensors and devices from a background task. Important This trigger cannot be used with single-process background tasks. For a sample that shows how to use DeviceUseTrigger on a PC, see the Custom USB device sample. For a phone sample, see the Background Sensors sample.
Open Graph Meta Tags
6- og:typewebsite
- og:image:altMicrosoft Learn
- og:imagehttps://learn.microsoft.com/en-us/media/open-graph-image.png
- og:titleDeviceUseTrigger Class (Windows.ApplicationModel.Background) - Windows apps
- og:urlhttps://learn.microsoft.com/en-us/uwp/api/windows.applicationmodel.background.deviceusetrigger?view=winrt-26100
Twitter Meta Tags
2- twitter:cardsummary_large_image
- twitter:site@MicrosoftLearn
Link Tags
6- canonicalhttps://learn.microsoft.com/en-us/uwp/api/windows.applicationmodel.background.deviceusetrigger?view=winrt-26100
- dns-prefetch//target.microsoft.com
- dns-prefetch//microsoftmscompoc.tt.omtrdc.net
- preconnect//mscom.demdex.net
- preload/static/third-party/adobe-target/at-js/2.9.0/at.js
Links
16- https://aka.ms/yourcaliforniaprivacychoices
- https://docs.microsoft.com/en-us/dotnet/api/system.object
- https://docs.microsoft.com/en-us/previous-versions/windows/apps/dn630194(v=win.10)
- https://docs.microsoft.com/en-us/uwp/api/windows.applicationmodel.background.backgroundexecutionmanager.RequestAccessAsync
- https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/CustomUsbDeviceAccess