BackgroundTaskBuilder.CancelOnConditionLoss 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.
Indicates whether the background task will be canceled if at least one of its required conditions is no longer met.
public:
property bool CancelOnConditionLoss { bool get(); void set(bool value); };
bool CancelOnConditionLoss();
void CancelOnConditionLoss(bool value);
public bool CancelOnConditionLoss { get; set; }
var boolean = backgroundTaskBuilder.cancelOnConditionLoss;
backgroundTaskBuilder.cancelOnConditionLoss = boolean;
Public Property CancelOnConditionLoss As Boolean
Property Value
Boolean
bool
Whether or not the background task will be canceled if at least one of its required conditions is no longer met.