Partager via


MemoryManager.AppMemoryUsageIncreased Événement

Définition

Déclenché lorsque la consommation de mémoire de l’application a augmenté pour atteindre une valeur plus élevée dans l’énumération 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) 

Type d'événement

S’applique à