AppMemoryUsageLimitChangingEventArgs 类

定义

AppMemoryUsageLimitChanging 事件提供数据。

public ref class AppMemoryUsageLimitChangingEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AppMemoryUsageLimitChangingEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class AppMemoryUsageLimitChangingEventArgs
Public NotInheritable Class AppMemoryUsageLimitChangingEventArgs
继承
Object Platform::Object IInspectable AppMemoryUsageLimitChangingEventArgs
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

处理 MemoryManager.AppMemoryUsageLimitChanging 事件以获取此类的实例。

属性

NewLimit

获取应用可以使用的总内存量的新限制(以字节为单位)。

OldLimit

获取应用可以使用的总内存量的旧限制(以字节为单位)。

适用于