Pauses task. This method can also be called on a task in the stopped state, in which case a thread will be started and will remain in the paused state. This function does not wait for the task to complete the paused state.

class Task

Return Value

Type: bool

TRUE if the task could be paused.

MT safe.