Resume execution of an asynchronous task.
Syntax
object.TaskResume ( TaskId )
Parameters
- TaskId
- An optional integer value that specifies the unique identifier
associated with a background task.
Return Value
A value of zero is returned if the operation was successful,
otherwise a non-zero error code is returned which indicates the cause
of the failure.
Remarks
The TaskResume method resumes execution of the background
worker thread that was previously suspended using the TaskSuspend
method. If the TaskId parameter is omitted, the method will
resume execution of the last background task that was started.
See Also
TaskId Property,
TaskSuspend Method,
TaskWait Method
|