Return the number of active background file transfers.
Syntax
object.TaskCount
Remarks
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.
Data Type
Integer (Int32)
See Also
TaskId Property,
TaskList Property,
AsyncGetFile Method,
AsyncPutFile Method,
TaskAbort Method,
TaskWait Method
|