Share via


PhoneTrigger.OneShot Property

Definition

Gets a Boolean value indicating if the trigger is a one-shot notification.

public:
 property bool OneShot { bool get(); };
bool OneShot();
public bool OneShot { get; }
var boolean = phoneTrigger.oneShot;
Public ReadOnly Property OneShot As Boolean

Property Value

Boolean

bool

A Boolean value indicating if the trigger is a one-shot notification.

Remarks

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