Microsoft
98-372 · Question #159
You write a method named DoWork. You need to log all exceptions that occur inside DoWork. You also need to ensure that all exceptions are raised to the calling code. Which code segment should you use?
The correct answer is C. Option C. See the full explanation below for the reasoning.
Question
You write a method named DoWork. You need to log all exceptions that occur inside DoWork. You also need to ensure that all exceptions are raised to the calling code. Which code segment should you use?
Options
- AOption A
- BOption B
- COption C
- DOption D
How the community answered
(28 responses)- A11% (3)
- B4% (1)
- C82% (23)
- D4% (1)
Community Discussion
No community discussion yet for this question.