MemoryManager.AppMemoryUsageIncreased MemoryManager.AppMemoryUsageIncreased MemoryManager.AppMemoryUsageIncreased MemoryManager.AppMemoryUsageIncreased MemoryManager.AppMemoryUsageIncreased Event

Definition

Raised when the app's memory consumption has increased to a higher value in the AppMemoryUsageLevel enumeration.

public : event EventHandler<Platform::Object> AppMemoryUsageIncreased
// Register
event_token AppMemoryUsageIncreased(EventHandler<Platform::Object> const& handler) const;

// Revoke with event_token
void AppMemoryUsageIncreased(event_token const& cookie) const;

// Revoke with event_revoker
AppMemoryUsageIncreased_revoker AppMemoryUsageIncreased(auto_revoke_t, EventHandler<Platform::Object> const& handler) const;
public event EventHandler<object> AppMemoryUsageIncreased
Public Event AppMemoryUsageIncreased As EventHandler (Of object)
function onAppMemoryUsageIncreased(eventArgs){/* Your code */}


memoryManager.addEventListener("appmemoryusageincreased", onAppMemoryUsageIncreased);
memoryManager.removeEventListener("appmemoryusageincreased", onAppMemoryUsageIncreased);