Delen via


BackgroundTaskRegistration.AppEnergyUsePredictionContribution Property

Definition

Gets the predicted energy consumption of the background task.

public:
 property double AppEnergyUsePredictionContribution { double get(); };
/// [Windows.Foundation.Metadata.Experimental]
/// [get: Windows.Foundation.Metadata.Experimental]
double AppEnergyUsePredictionContribution();
double AppEnergyUsePredictionContribution();
[Windows.Foundation.Metadata.Experimental]
public double AppEnergyUsePredictionContribution { [Windows.Foundation.Metadata.Experimental] get; }
public double AppEnergyUsePredictionContribution { get; }
var double = backgroundTaskRegistration.appEnergyUsePredictionContribution;
Public ReadOnly Property AppEnergyUsePredictionContribution As Double

Property Value

Double

double

The predicted energy consumption of the background task.

Attributes

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v15.0)

Applies to