PhoneTrigger(PhoneTriggerType, Boolean) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.