You are designing an application by using Microsoft .NET Framework 4 and Microsoft
Visual Studio 2010. You plan to design an instrumentation strategy for the application. You
need to ensure that the strategy meets the following requirements: Captures detailed
performance information. Enables or disables diagnostic messages by using an application
configuration option without requiring the application to restart. What should you design?
A.
a custom trace listener
B.
a custom performance counter
C.
an override to the Debug class
D.
an override to the EventLog class