Share via


ExtendedExecutionForegroundSession.Revoked 이벤트

정의

이 이벤트는 시스템이 확장 실행을 취소할 때 발생합니다.

// 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) 

이벤트 유형

Windows 요구 사항

앱 기능
extendedExecutionBackgroundAudio extendedExecutionCritical extendedExecutionUnconstrained

적용 대상