Free Practice Exam - MCPD 70-562
Control Panel
Exam Progress
Move on to the next question
Links
Home
Microsoft Exams
Question 8
Your development team is working on a large scale .Net project that has multiple assemblies and code files. Before releasing the software as a Beta product, you and the team are testing classes and assemblies for bugs. Most methods have been programmed to just catch the exception without logging any information. You now want to change this so that information about the sequence of calls and the line number of the method where the exception occurred are logged.
Which property of the exception class should you use?
HelpLink
StackTrace
Message
InnerException
That was the correct answer, well done!
Sorry, that was the wrong answer
StackTrace. The StackTrace property of the Exception class contains information about the method calls and the line numbers in which the exception occurred.
Sponsored
Free practice exams are provided free of charge by Accelerated Ideas. Please respect our exams and do not reproduce our material or abuse the testing system. Thank you. Microsoft exams for MCPD, MCTS, MCP, MCSE, MCSA, MCAD, MCSD