Share via


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:
 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.

Applies to