다음을 통해 공유


MemoryManager.AppMemoryUsageIncreased 이벤트

정의

앱의 메모리 사용량이 AppMemoryUsageLevel 열거형에서 더 높은 값으로 증가하면 발생합니다.

// Register
static event_token AppMemoryUsageIncreased(EventHandler<IInspectable> const& handler) const;

// Revoke with event_token
static void AppMemoryUsageIncreased(event_token const* cookie) const;

// Revoke with event_revoker
static MemoryManager::AppMemoryUsageIncreased_revoker AppMemoryUsageIncreased(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public static event System.EventHandler<object> AppMemoryUsageIncreased;
function onAppMemoryUsageIncreased(eventArgs) { /* Your code */ }
Windows.System.MemoryManager.addEventListener("appmemoryusageincreased", onAppMemoryUsageIncreased);
Windows.System.MemoryManager.removeEventListener("appmemoryusageincreased", onAppMemoryUsageIncreased);
- or -
Windows.System.MemoryManager.onappmemoryusageincreased = onAppMemoryUsageIncreased;
Public Shared Custom Event AppMemoryUsageIncreased As EventHandler(Of Object) 

이벤트 유형

적용 대상