Await Task inside BackgroundWorker DoWork method

jp99jp99 MVMember ✭✭

Hi guys,

in my BackgroundWorker DoWork method I need to await a task, when showing an UIAlertView.

Unfortunately this causes the BackgroundWorker to fire the RunWorkerCompleted Event, even though not all statements in the DoWork method have been executed.

Any ideas?

Posts

Sign In or Register to comment.