BackgroundEnergyManager.RecentEnergyUsageReturnedToLow Evento
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Se produce cuando el uso energético de la tarea en segundo plano ha disminuido a un nivel de uso bajo.
// Register
static event_token RecentEnergyUsageReturnedToLow(EventHandler<IInspectable> const& handler) const;
// Revoke with event_token
static void RecentEnergyUsageReturnedToLow(event_token const* cookie) const;
// Revoke with event_revoker
static BackgroundEnergyManager::RecentEnergyUsageReturnedToLow_revoker RecentEnergyUsageReturnedToLow(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 RecentEnergyUsageReturnedToLow(EventHandler<IInspectable> const& handler) const;
// Revoke with event_token
static void RecentEnergyUsageReturnedToLow(event_token const* cookie) const;
// Revoke with event_revoker
static BackgroundEnergyManager::RecentEnergyUsageReturnedToLow_revoker RecentEnergyUsageReturnedToLow(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public static event System.EventHandler<object> RecentEnergyUsageReturnedToLow;
[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> RecentEnergyUsageReturnedToLow;
function onRecentEnergyUsageReturnedToLow(eventArgs) { /* Your code */ }
Windows.System.Power.BackgroundEnergyManager.addEventListener("recentenergyusagereturnedtolow", onRecentEnergyUsageReturnedToLow);
Windows.System.Power.BackgroundEnergyManager.removeEventListener("recentenergyusagereturnedtolow", onRecentEnergyUsageReturnedToLow);
- or -
Windows.System.Power.BackgroundEnergyManager.onrecentenergyusagereturnedtolow = onRecentEnergyUsageReturnedToLow;
Public Shared Custom Event RecentEnergyUsageReturnedToLow As EventHandler(Of Object)
Tipo de evento
- Atributos
Comentarios
Una tarea en segundo plano que funciona en este nivel consume significativamente menos energía que la normal y no requiere limitación.