DeviceWatcherTrigger DeviceWatcherTrigger DeviceWatcherTrigger DeviceWatcherTrigger DeviceWatcherTrigger Class

Definition

Represents an event that causes a background task to run when changes occur to the list of devices. Returned by GetBackgroundTrigger.

public : sealed class DeviceWatcherTrigger : IBackgroundTrigger
struct winrt::Windows::ApplicationModel::Background::DeviceWatcherTrigger : IBackgroundTrigger
public sealed class DeviceWatcherTrigger : IBackgroundTrigger
Public NotInheritable Class DeviceWatcherTrigger Implements IBackgroundTrigger
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

See also