Windows Dev Center

EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

MemoryManager class

Provides access to information on an app's memory usage.

Syntax


public static class MemoryManager

Members

The MemoryManager class has these types of members:

Events

The MemoryManager class has these events.

EventDescription
AppMemoryUsageDecreased Raised when the app's memory consumption has decreased to a lower value in the AppMemoryUsageLevel enumeration.
AppMemoryUsageIncreased Raised when the app's memory consumption has increased to a higher value in the AppMemoryUsageLevel enumeration.
AppMemoryUsageLimitChanging Raised just before the limit of how much total memory the app can use is changed.

 

Methods

The MemoryManager class has these methods. It also inherits methods from the Object class.

MethodDescription
GetAppMemoryReport Gets an AppMemoryReport for the app, which provides information about its memory usage.
GetProcessMemoryReport Gets a ProcessMemoryReport for a process, which provides information about its memory usage.

 

Properties

The MemoryManager class has these properties.

PropertyAccess typeDescription

AppMemoryUsage

Read-onlyGets the app's current memory usage.

AppMemoryUsageLevel

Read-onlyGets the app's memory usage level.

AppMemoryUsageLimit

Read-onlyGets the app's memory usage limit.

 

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

Attributes

[MarshalingBehavior(Agile)]
[Version]

See also

Object

 

 

Anzeigen:
© 2015 Microsoft