Currenly using the following code to wait for a collection of tasks to complete. However, I now have a situation where I want to be able to cancel/abort the WhenAll call, v
Dim tcs as new TaskCompletionSource(Of Object)() Await Tasks.Task.WhenAny(Tasks.Task.WhenAll(TaskCollection), tcs)
To cancel, call tcs.SetResult(Nothing). This will fire your Task.WhenAny.