This method starts the task on a background thread and returns the elements shown in Table 13.

Table 13. Return Background Thread

Returns

Description

E_INVALIDARG

The task is already running, so you cannot start it right now.

E_FAIL

There was a problem starting the thread.

S_OK

The thread was started.

 

Related Topics

IBackgroundTask Interface