Partager via


CashDrawerCloseAlarm.AlarmTimeoutExpired Événement

Définition

Événement permettant à l’application d’être avertie si le délai d’expiration de l’alarme a été déclenché.

// Register
event_token AlarmTimeoutExpired(TypedEventHandler<CashDrawerCloseAlarm, IInspectable const&> const& handler) const;

// Revoke with event_token
void AlarmTimeoutExpired(event_token const* cookie) const;

// Revoke with event_revoker
CashDrawerCloseAlarm::AlarmTimeoutExpired_revoker AlarmTimeoutExpired(auto_revoke_t, TypedEventHandler<CashDrawerCloseAlarm, IInspectable const&> const& handler) const;
public event TypedEventHandler<CashDrawerCloseAlarm,object> AlarmTimeoutExpired;
function onAlarmTimeoutExpired(eventArgs) { /* Your code */ }
cashDrawerCloseAlarm.addEventListener("alarmtimeoutexpired", onAlarmTimeoutExpired);
cashDrawerCloseAlarm.removeEventListener("alarmtimeoutexpired", onAlarmTimeoutExpired);
- or -
cashDrawerCloseAlarm.onalarmtimeoutexpired = onAlarmTimeoutExpired;
Public Custom Event AlarmTimeoutExpired As TypedEventHandler(Of CashDrawerCloseAlarm, Object) 

Type d'événement

S’applique à