DeviceWatcher.GetBackgroundTrigger 方法

定义

获取设备列表更改的 DeviceWatcherTrigger 对象监视。

public:
 virtual DeviceWatcherTrigger ^ GetBackgroundTrigger(IIterable<DeviceWatcherEventKind> ^ requestedEventKinds) = GetBackgroundTrigger;
DeviceWatcherTrigger GetBackgroundTrigger(IIterable<DeviceWatcherEventKind> const& requestedEventKinds);
public DeviceWatcherTrigger GetBackgroundTrigger(IEnumerable<DeviceWatcherEventKind> requestedEventKinds);
function getBackgroundTrigger(requestedEventKinds)
Public Function GetBackgroundTrigger (requestedEventKinds As IEnumerable(Of DeviceWatcherEventKind)) As DeviceWatcherTrigger

参数

requestedEventKinds

IIterable<DeviceWatcherEventKind>

IEnumerable<DeviceWatcherEventKind>

要监视的特定更新的列表。

返回

监视指定更改的观察程序触发器。

适用于