BackgroundWorker.set_internal_state_to_cancelled BackgroundWorker.set_internal_state_to_cancelled()[source] Set the internal state to cancelled.