MemoryManager.AppMemoryUsageLimitChanging Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Raised just before the limit of how much total memory the app can use is changed.
// Register
static event_token AppMemoryUsageLimitChanging(EventHandler<AppMemoryUsageLimitChangingEventArgs> const& handler) const;
// Revoke with event_token
static void AppMemoryUsageLimitChanging(event_token const* cookie) const;
// Revoke with event_revoker
static MemoryManager::AppMemoryUsageLimitChanging_revoker AppMemoryUsageLimitChanging(auto_revoke_t, EventHandler<AppMemoryUsageLimitChangingEventArgs> const& handler) const;
public static event System.EventHandler<AppMemoryUsageLimitChangingEventArgs> AppMemoryUsageLimitChanging;
function onAppMemoryUsageLimitChanging(eventArgs) { /* Your code */ }
Windows.System.MemoryManager.addEventListener("appmemoryusagelimitchanging", onAppMemoryUsageLimitChanging);
Windows.System.MemoryManager.removeEventListener("appmemoryusagelimitchanging", onAppMemoryUsageLimitChanging);
- or -
Windows.System.MemoryManager.onappmemoryusagelimitchanging = onAppMemoryUsageLimitChanging;
Public Shared Custom Event AppMemoryUsageLimitChanging As EventHandler(Of AppMemoryUsageLimitChangingEventArgs)
Event Type
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor