What should you do?

You are creating a Windows Presentation Foundation (WPF) client application…
You are creating a Windows Presentation Foundation (WPF) client application by using Microsoft NET Framework 4 and Microsoft Visual Studio 2010.
You plan to create two application domains named AppDom1 and AppDom2.
AppDom1 will be hosted by a Shell host.
AppDom2 will be hosted by a custom-designed host
AppDom2 will access unmanaged application programming interfaces (APIs).
AppDom2 contains user-defined custom exceptions.
You need to ensure that exceptions thrown in AppDom2 can be handled by AppDom1
What should you do?
A. Add a DispatcherUnhandledException event handler to AppDom1.
B. Add the assembly that defines the user-defined custom exception class to the application base for AppDom1
C. Derive the user-defined custom exception class from the System ApplicationException class,
D. Use a strong name for the assembly to contain the user-defined custom exception class

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.