PrepAway - Latest Free Exam Questions & Answers

You need to ensure that unhandled errors and exceptions are never displayed to users

You are preparing to deploy a Windows Store app to the marketplace.
You need to ensure that unhandled errors and exceptions are never displayed to users.
What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
In the app object, wrap the call to the Window.Current.Activate() method in a try-catch statement
to handle any exceptions that occur.

B.
Open the Exceptions window in Visual Studio and clear the check box for unhandled exceptions
for the Common Language Runtime.

C.
Write a handler for the UnhandledException event and set the Handled property on the
UnhandledExceptionEventArgs object to true.

D.
Write a handler for the UnhandledException event and set the CancelBubble property on the
UnhandledExceptionEventArgs object to true.


Leave a Reply