ExtendedExecutionSession.Revoked Evento
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
El evento Revoked se produce cuando el sistema revoca la ejecución en segundo plano.
// Register
event_token Revoked(TypedEventHandler<IInspectable, ExtendedExecutionRevokedEventArgs const&> const& handler) const;
// Revoke with event_token
void Revoked(event_token const* cookie) const;
// Revoke with event_revoker
ExtendedExecutionSession::Revoked_revoker Revoked(auto_revoke_t, TypedEventHandler<IInspectable, ExtendedExecutionRevokedEventArgs const&> const& handler) const;
public event TypedEventHandler<object,ExtendedExecutionRevokedEventArgs> Revoked;
function onRevoked(eventArgs) { /* Your code */ }
extendedExecutionSession.addEventListener("revoked", onRevoked);
extendedExecutionSession.removeEventListener("revoked", onRevoked);
- or -
extendedExecutionSession.onrevoked = onRevoked;
Public Custom Event Revoked As TypedEventHandler(Of Object, ExtendedExecutionRevokedEventArgs)
Tipo de evento
TypedEventHandler<IInspectable,ExtendedExecutionRevokedEventArgs>
Comentarios
El remitente (objeto) es **null ** para este evento.