/// <summary> /// This will terminate the app. /// Is there any difference between this and Exception_OnClick? /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void MakeTeaAsyncWithExceptionAndAsyncVoid_OnClick(object sender, RoutedEventArgs e) { BeforeMakingTea(); try { _finalMessage = new StringBuilder(); _finalMessage.AppendLine("Making tea started."); MakeTeaAsyncWithException.MakeMeTeaAsyncVoidInTryCatch(); _finalMessage.AppendLine("After calling the method async"); Notes.Text = _finalMessage.ToString(); } catch (Exception exception) { Notes.Text = exception.Message; } AfterMakingTea(); }