Bagikan melalui


DeviceWatcherTrigger Kelas

Definisi

Mewakili peristiwa yang menyebabkan tugas latar belakang berjalan ketika perubahan terjadi pada daftar perangkat. Dikembalikan oleh GetBackgroundTrigger.

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
Warisan
Object Platform::Object IInspectable DeviceWatcherTrigger
Atribut
Penerapan

Persyaratan Windows

Rangkaian perangkat
Windows 10 (diperkenalkan dalam 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v1.0)

Berlaku untuk

Lihat juga