BackgroundTaskBuilder.CancelOnConditionLoss BackgroundTaskBuilder.CancelOnConditionLoss BackgroundTaskBuilder.CancelOnConditionLoss BackgroundTaskBuilder.CancelOnConditionLoss BackgroundTaskBuilder.CancelOnConditionLoss Property

Definition

Indicates whether the background task will be canceled if at least one of its required conditions is no longer met.

public : Platform::Boolean CancelOnConditionLoss { get; set; }
bool CancelOnConditionLoss();

void CancelOnConditionLoss(bool cancelonconditionloss);
public bool CancelOnConditionLoss { get; set; }
Public ReadWrite Property CancelOnConditionLoss As bool
var bool = backgroundTaskBuilder.cancelOnConditionLoss;
backgroundTaskBuilder.cancelOnConditionLoss = bool;
Property Value
bool bool bool

Whether or not the background task will be canceled if at least one of its required conditions is no longer met.