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.
An override to the EventLog class
C.
An override to the Debug class
D.
A custom performance counter