Attempts to transition the underlying System.Threading.Tasks.Task`1 into the TaskStatus.Canceled state.
True if the operation was successful; false if the operation was unsuccessful or the object has already been disposed.
This operation will return false if the System.Threading.Tasks.Task`1 is already in one of the three final states: TaskStatus.RanToCompletion, TaskStatus.Faulted, or TaskStatus.Canceled.
This method also returns false if the underlying System.Threading.Tasks.Task`1 has already been disposed.