다음을 통해 공유


ExtendedExecutionSession.Revoked 이벤트

정의

Revoked 이벤트는 시스템이 백그라운드 실행을 취소할 때 발생합니다.

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

이벤트 유형

설명

보낸 사람(개체)은 이 이벤트에 대해 **null **입니다.

적용 대상