次の方法で共有


DeviceManufacturerNotificationTrigger(String, Boolean) コンストラクター

定義

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)

パラメーター

triggerQualifier
String

Platform::String

winrt::hstring

トリガーを修飾するアプリ定義の文字列。

oneShot
Boolean

bool

トリガーが 1 回だけ使用されるかどうか。

属性

適用対象