Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
Task exception handling example by Anonymous
Starting Main()
'await allTasksCompleted' threw exception of type InvalidTimeZoneException
allTasksCompleted.Exception is type AggregateException
allTasksCompleted.Exception.InnerException is type InvalidTimeZoneException
2 exception(s) occurred across tasks[]:
--> AggregateException [1 InnerException(s)]
 \--> InvalidTimeZoneException
--> AggregateException [1 InnerException(s)]
 \--> InvalidOperationException
Exiting Main()
Cached Result
Last Run: 8:46:38 am
Compile: 0.15s
Execute: 0s
Memory: 32kb
CPU: 0.016s