What should you include in the recommendation?

You are developing a Windows Store app that will download files from a remote server.
You need to recommend a solution to display a custom message if a network error occurs during a file download.
What should you include in the recommendation?
A. Wrap the asynchronous call in a try/catch block
B. Wrap the Window.Current.ActivateQ call in a try/catch block.
C. Register an event handler for the Application.UnhandledException event and call Application.Current.Exit.
D. Register an event handler for the Application.UnhandledException event and set e.Handled to true.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.