ExtendedExecutionForegroundSession.Revoked Evento
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Questo evento si verifica quando il sistema revoca l'esecuzione estesa.
// Register
event_token Revoked(TypedEventHandler<IInspectable, ExtendedExecutionForegroundRevokedEventArgs const&> const& handler) const;
// Revoke with event_token
void Revoked(event_token const* cookie) const;
// Revoke with event_revoker
ExtendedExecutionForegroundSession::Revoked_revoker Revoked(auto_revoke_t, TypedEventHandler<IInspectable, ExtendedExecutionForegroundRevokedEventArgs const&> const& handler) const;
public event TypedEventHandler<object,ExtendedExecutionForegroundRevokedEventArgs> Revoked;
function onRevoked(eventArgs) { /* Your code */ }
extendedExecutionForegroundSession.addEventListener("revoked", onRevoked);
extendedExecutionForegroundSession.removeEventListener("revoked", onRevoked);
- or -
extendedExecutionForegroundSession.onrevoked = onRevoked;
Public Custom Event Revoked As TypedEventHandler(Of Object, ExtendedExecutionForegroundRevokedEventArgs)
Tipo evento
TypedEventHandler<Object,ExtendedExecutionForegroundRevokedEventArgs>
TypedEventHandler<IInspectable,ExtendedExecutionForegroundRevokedEventArgs>
Requisiti Windows
Funzionalità dell'app |
extendedExecutionBackgroundAudio
extendedExecutionCritical
extendedExecutionUnconstrained
|