MemoryManager.AppMemoryUsageIncreased Evento

Definizione

Generato quando l'utilizzo della memoria dell'app è aumentato a un valore maggiore nell'enumerazione 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) 

Tipo evento

Si applica a