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.
Explanation:
Quickstart: Calling asynchronous APIs in C# or Visual Basic (Windows)