What should you do?

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You plan to use a PresentationTraceSources object when the application is executed by users.
When the application is executed in a test environment, all debug information is successfully captured.
You need to be able to capture debug information when the application is deployed.
What should you do?

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You plan to use a PresentationTraceSources object when the application is executed by users.
When the application is executed in a test environment, all debug information is successfully captured.
You need to be able to capture debug information when the application is deployed.
What should you do?

A.
Enable WPF tracing in the registry.
Restart the application.

B.
Enable tracing by modifying local Group Policy.
Restart the application.

C.
Open the XML configuration file for your application on the user’s computer.
Set tracing to a verbose level.
Restart the application.

D.
Open the XML configuration file for your application on the user’s computer.
Add a trace listener.
Restart the application.



Leave a Reply 0

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