What should you do?

Correct Answer for the following Question is given below

You are developing an ASP.NET MVC application by using Visual Studio 2012.The application throws and handles exceptions when it runs.You need to examine the state of the application when exceptions are thrown.What should you do?

Question:

What should you do?

Options:

From the Debug menu in Visual Studio 2012, select Exceptions. Enable the Thrown check box for Common Language Runtime Exceptions.

From the Debug menu in Visual Studio 2012, select Exceptions. Disable the User-unhandled check box for Common Language Runtime Exceptions.

Add the following code to the web.config file of the application.

Add the following code to the web.config file of the application.

Correct Answer

The Correct Answer for this Question is

From the Debug menu in Visual Studio 2012, select Exceptions. Enable the Thrown check box for Common Language Runtime Exceptions.

Explanation

The Question – What should you do? has been answered correctly and answers for the question is From the Debug menu in Visual Studio 2012, select Exceptions. Enable the Thrown check box for Common Language Runtime Exceptions.

More about these Exams

These Exam Questions and the order of these questions keep changing. but the answers are obviously same. so if you don’t find a question after another we suggest you search it in the search box and we are sure you’ll find it. you can bookmark this site for Quick access in future.

We hope you found it helpful don’t forget to leave a comment if you feel a need to correct or ask we’re always here to help.

you can find more here at mnccertified

Feel free to contact via comment or email.

Happy Learning

Cheers, Team MNCcertified

Leave a Comment