This method releases the background thread. It returns E_INVALIDARG if the thread is currently running and S_OK otherwise.

Related Topics

IBackgroundTask Interface