试题详情
单项选择题 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.

  • A
  • 关注下方微信公众号,在线模考后查看

热门试题