Partager via


DeviceManufacturerNotificationTrigger(String, Boolean) Constructeur

Définition

Initialise une nouvelle instance de la classe DeviceManufacturerNotificationTrigger.

public:
 DeviceManufacturerNotificationTrigger(Platform::String ^ triggerQualifier, bool oneShot);
 DeviceManufacturerNotificationTrigger(winrt::hstring const& triggerQualifier, bool const& oneShot);
/// [Windows.Foundation.Metadata.Deprecated("DeviceManufacturerNotificationTrigger is deprecated and might not work on all platforms", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")]
 DeviceManufacturerNotificationTrigger(winrt::hstring const& triggerQualifier, bool const& oneShot);
public DeviceManufacturerNotificationTrigger(string triggerQualifier, bool oneShot);
[Windows.Foundation.Metadata.Deprecated("DeviceManufacturerNotificationTrigger is deprecated and might not work on all platforms", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")]
public DeviceManufacturerNotificationTrigger(string triggerQualifier, bool oneShot);
function DeviceManufacturerNotificationTrigger(triggerQualifier, oneShot)
Public Sub New (triggerQualifier As String, oneShot As Boolean)

Paramètres

triggerQualifier
String

Platform::String

winrt::hstring

Chaîne définie par l’application qui qualifie le déclencheur.

oneShot
Boolean

bool

Indique si le déclencheur n’est utilisé qu’une seule fois.

Attributs

S’applique à