共用方式為


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

取得應用程式可用記憶體總數的舊限制,以位元組為單位。

適用於