BackgroundEnergyManager.RecentEnergyUsageIncreased 이벤트

정의

백그라운드 작업의 에너지 사용량이 크게 증가하면 발생합니다.

// Register
static event_token RecentEnergyUsageIncreased(EventHandler<IInspectable> const& handler) const;

// Revoke with event_token
static void RecentEnergyUsageIncreased(event_token const* cookie) const;

// Revoke with event_revoker
static BackgroundEnergyManager::RecentEnergyUsageIncreased_revoker RecentEnergyUsageIncreased(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
/// [add: Windows.Foundation.Metadata.Deprecated("Background Energy Manager has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")]
/// [remove: Windows.Foundation.Metadata.Deprecated("Background Energy Manager has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")]
// Register
static event_token RecentEnergyUsageIncreased(EventHandler<IInspectable> const& handler) const;

// Revoke with event_token
static void RecentEnergyUsageIncreased(event_token const* cookie) const;

// Revoke with event_revoker
static BackgroundEnergyManager::RecentEnergyUsageIncreased_revoker RecentEnergyUsageIncreased(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public static event System.EventHandler<object> RecentEnergyUsageIncreased;
[add: Windows.Foundation.Metadata.Deprecated("Background Energy Manager has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")]
[remove: Windows.Foundation.Metadata.Deprecated("Background Energy Manager has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")]
public static event System.EventHandler<object> RecentEnergyUsageIncreased;
function onRecentEnergyUsageIncreased(eventArgs) { /* Your code */ }
Windows.System.Power.BackgroundEnergyManager.addEventListener("recentenergyusageincreased", onRecentEnergyUsageIncreased);
Windows.System.Power.BackgroundEnergyManager.removeEventListener("recentenergyusageincreased", onRecentEnergyUsageIncreased);
- or -
Windows.System.Power.BackgroundEnergyManager.onrecentenergyusageincreased = onRecentEnergyUsageIncreased;
Public Shared Custom Event RecentEnergyUsageIncreased As EventHandler(Of Object) 

이벤트 유형

특성

설명

알림은 종료 사용량 수준까지 크게 증가할 때마다 전송됩니다.

적용 대상