BackgroundTaskRegistration.AppEnergyUsePredictionContribution Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
|