Udostępnij za pośrednictwem


PhoneTrigger(PhoneTriggerType, Boolean) Constructor

Definition

Initializes a new instance of the PhoneTrigger class.

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)

Parameters

type
PhoneTriggerType

Specifies the type of phone event.

oneShot
Boolean

bool

Indicates if the trigger is a one-shot notification. If you weren't subscribed when a one-shot notification was sent, you get nothing. If you weren't connected when you fired a one-shot notification, nothing happens.

Applies to