Safe way of Windows Phone Tasks handling

Have you ever wondered how you should use Windows Phone 7 Tasks correctly? When you look through the examples on MSDN, in most cases you will find following structure: Task task = new Task(); try { task.PropertyA = “A”; task.PropertyB = “B”; task.PropertyC = “C”; task.Show(); } catch (System.InvalidOperationException ex) { MessageBox.Show(“An error occurred.”); } […]