Share via


PhoneTrigger(PhoneTriggerType, Boolean) Constructeur

Définition

Initialise une nouvelle instance de la classe PhoneTrigger.

public:
 PhoneTrigger(PhoneTriggerType type, bool oneShot);
 PhoneTrigger(PhoneTriggerType const& type, bool const& oneShot);
public PhoneTrigger(PhoneTriggerType type, bool oneShot);
function PhoneTrigger(type, oneShot)
Public Sub New (type As PhoneTriggerType, oneShot As Boolean)

Paramètres

type
PhoneTriggerType

Spécifie le type d’événement de téléphone.

oneShot
Boolean

bool

Indique si le déclencheur est une notification one-shot. Si vous n’étiez pas abonné lors de l’envoi d’une notification one shot, vous n’obtenez rien. Si vous n’étiez pas connecté lorsque vous avez déclenché une notification one-shot, rien ne se passe.

S’applique à