What should you do?

You are designing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.The application vii use multiple worker threads and a single user interface (UI) thread.
You plan to design the exception.-handling strategy for the application.You need to ensure that all exceptions that occur can be handled.
What should you do?
A. Use a DispatcherUnhandledExceptionEvent handler on the main UI thread
B. Use a DispatcherUnhandledExceptionEvent handler on each worker thread
C. Write an AppDomain UnhandledExceptionEvent handler
D. Write a general catch block for the System Exception types after any specific catch statements on the main user interface thread

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.