Exercise 3: Polling and Cancellation
In this exercise, you will add additional features to the application. First, you will introduce the ability to cancel the work that is processing in the background. Then, you will add the ability to poll the content of each of the links retrieved and check for modifications. In that case, you will notify the user by changing the link color in the ListBox.
Task 1 – Adding the Cancellation Feature
In this task, you will implement the cancellation feature in the application in order to terminate ongoing tasks.
Task 2 – Polling the Links Status
In this task, you will add the ability to poll the links status and use different colors when their content has changed.