ExtendedExecutionForegroundSession.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.
This event occurs when the system revokes extended execution.
// 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)
Event Type
TypedEventHandler<Object,ExtendedExecutionForegroundRevokedEventArgs>
TypedEventHandler<IInspectable,ExtendedExecutionForegroundRevokedEventArgs>
Windows requirements
App capabilities |
extendedExecutionBackgroundAudio
extendedExecutionCritical
extendedExecutionUnconstrained
|