Skip to main content
MemoryManager.AppMemoryUsageIncreased | appmemoryusageincreased event

Applies to Windows Phone only

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

Syntax


function onAppMemoryUsageIncreased(eventArgs) { /* Your code */ }
 
// addEventListener syntax
memoryManager.addEventListener("appmemoryusageincreased", onAppMemoryUsageIncreased);
memoryManager.removeEventListener("appmemoryusageincreased", onAppMemoryUsageIncreased);
 
- or -

memoryManager.onappmemoryusageincreased = onAppMemoryUsageIncreased;

public static event EventHandler<object> AppMemoryUsageIncreased

Public Shared Event AppMemoryUsageIncreased As EventHandler(Of Object)

public:
static event EventHandler<object>^ AppMemoryUsageIncreased {
   Windows::Foundation::EventRegistrationToken add(EventHandler<object>^ value);
   void remove(Windows::Foundation::EventRegistrationToken token);
}

Event information

DelegateEventHandler [JavaScript] | System.EventHandler<Object> [.NET] | Windows.Foundation.EventHandler<Object> [C++]

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.System
Windows::System [C++]

Metadata

Windows.winmd

See also

MemoryManager

 

 

Microsoft is conducting an online survey to understand your opinion of the MSDN Web site. If you choose to participate, the online survey will be presented to you when you leave the MSDN Web site.

Would you like to participate?