Task Builder. Add Condition(IBackgroundCondition) Method
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.
Adds a condition to a background task.
public: virtual void AddCondition(IBackgroundCondition ^ condition) = AddCondition;
void AddCondition(IBackgroundCondition const& condition);
public void AddCondition(IBackgroundCondition condition);
Public Sub AddCondition (condition As IBackgroundCondition)
AddCondition can be called more than once to specify more than one condition for a background task. All specified conditions must be met before the system will schedule the task.