This method waits until either the thread stops running or the number of milliseconds has elapsed.
Related Topics
IBackgroundTask Interface