The TaskCount property returns the number of background file
transfers that are currently in progress. One common use for this
property is to create a timer that periodically checks this value when
a series of background transfers are started. When the property
returns a value of zero, that indicates all of the background
transfers have completed. This property can also be used to enumerate
the active background tasks in conjunction with the TaskList
property.