You can terminate a task while it is running by calling IScheduledWorkItem::Terminate. The following procedure describes how to terminate a task if it is running. To terminate a task if it is running ...