Compartilhar via


DeviceManufacturerNotificationTrigger Classe

Definição

Representa um gatilho que inicia uma tarefa em segundo plano para habilitar operações do fabricante do dispositivo.

public ref class DeviceManufacturerNotificationTrigger sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Background.IDeviceManufacturerNotificationTriggerFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [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 DeviceManufacturerNotificationTrigger final
/// [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)]
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Background.IDeviceManufacturerNotificationTriggerFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class DeviceManufacturerNotificationTrigger final
/// [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)]
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Background.IDeviceManufacturerNotificationTriggerFactory, 65536, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Deprecated("DeviceManufacturerNotificationTrigger is deprecated and might not work on all platforms", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")]
class DeviceManufacturerNotificationTrigger final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Background.IDeviceManufacturerNotificationTriggerFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[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 DeviceManufacturerNotificationTrigger
[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)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Background.IDeviceManufacturerNotificationTriggerFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class DeviceManufacturerNotificationTrigger
[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)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Background.IDeviceManufacturerNotificationTriggerFactory), 65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Deprecated("DeviceManufacturerNotificationTrigger is deprecated and might not work on all platforms", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")]
public sealed class DeviceManufacturerNotificationTrigger
function DeviceManufacturerNotificationTrigger(triggerQualifier, oneShot)
Public NotInheritable Class DeviceManufacturerNotificationTrigger
Herança
Object Platform::Object IInspectable DeviceManufacturerNotificationTrigger
Atributos
Implementações

Requisitos do Windows

Família de dispositivos
Windows 10 (introduzida na 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v1.0)

Comentários

A partir do Windows 10, versão 1803, CustomSystemEventTrigger deve ser usado em vez desse gatilho.

Construtores

DeviceManufacturerNotificationTrigger(String, Boolean)

Inicializa uma nova instância da classe DeviceManufacturerNotificationTrigger .

Propriedades

OneShot

Obtém se o gatilho é usado apenas uma vez.

TriggerQualifier

Obtém uma cadeia de caracteres definida pelo aplicativo que qualifica o gatilho.

Aplica-se a

Confira também