共用方式為


ForegroundEnergyManager.MaxAcceptableUsageLevel 屬性

定義

取得可接受的使用量等級上限,以一般能源耗用量的百分比表示。

public:
 static property unsigned int MaxAcceptableUsageLevel { unsigned int get(); };
static uint32_t MaxAcceptableUsageLevel();
/// [get: Windows.Foundation.Metadata.Deprecated("Foreground Energy Manager has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")]
static uint32_t MaxAcceptableUsageLevel();
public static uint MaxAcceptableUsageLevel { get; }
public static uint MaxAcceptableUsageLevel { [Windows.Foundation.Metadata.Deprecated("Foreground Energy Manager has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")] get; }
var uInt32 = ForegroundEnergyManager.maxAcceptableUsageLevel;
Public Shared ReadOnly Property MaxAcceptableUsageLevel As UInteger

屬性值

UInt32

unsigned int

uint32_t

可接受的使用量等級上限,以一般能源耗用量的百分比表示。

屬性

備註

在可接受層級上限或超過最大可接受層級的應用程式,可能會回報給省電模式應用程式作為高能源取用者。

適用於