Suppose I have an array of tasks say taskArray
and I create a task continuation using ContinueWhenAll
and one or more of the tasks in taskArray
throw some exception. My question is, is there any scenario where this may lead to an UnobservedTaskException
?
So basically the question boils down to, does ContinueWhenAll
observe the exceptions in taskArray
like Wait
would do for a single task? If no, then what should be used for a group of tasks if I don't want to look explicitly at the exceptions on each task. I don't want to use WaitAll
as it is not available for generic tasks.