DeviceWatcherTrigger Klasse

Definition

Stellt ein Ereignis dar, das bewirkt, dass eine Hintergrundaufgabe ausgeführt wird, wenn Änderungen an der Liste der Geräte auftreten. Wird von GetBackgroundTrigger zurückgegeben.

public ref class DeviceWatcherTrigger sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
class DeviceWatcherTrigger final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
public sealed class DeviceWatcherTrigger
Public NotInheritable Class DeviceWatcherTrigger
Vererbung
Object Platform::Object IInspectable DeviceWatcherTrigger
Attribute
Implementiert

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Gilt für:

Weitere Informationen