I want my Task
to complete before I perform other actions. If I use
Task.WaitAll(task);
it certainly blocks my UI thread. What is the best way to wait asynchronously for a Task
to complete, without using async / await
(I'm using .NET v4.0)?
ContinueWith
). That being said, you can use async & await and target .NET 4. You have to use VS2012 though, with Async Targeting Pack. – Patryk Ćwiek