ExtendedExecutionSession.Revoked Event
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.
The Revoked event occurs when the system revokes background execution.
// 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)
Event Type
TypedEventHandler<IInspectable,ExtendedExecutionRevokedEventArgs>
Remarks
The sender (object) is **null ** for this event.