Question 1 of 20
Manage Program Flow - Multithreading
You need to implement cancellation for a long running task. Which object do you pass to the task?
Boolean isCancelled variable
Volatile
CancellationTokenSource
CancellationToken