You create an application by using Microsoft Visual Studio 2008 and the .NET Framework 3.5.
The application is hosted on a Web server that runs Microsoft Windows Server 2003. It connects to a third-party system by using Web service calls. The third-party system experiences occasional unplanned outages. When a system outage occurs, the application must perform the following tasks:
Log error details.
Notify an on-call technician.
You need to develop a strategy to perform the required tasks. What should you do?
A.
Use the System.Diagnostics.EventLog and the System.Net.Mail namespaces.
B.
Use the System.Diagnostics.EventLog and the System.Net.PeerToPeer namespaces.
C.
Use the System.IO.Log namespace and the System.Diagnostics.Trace class.
D.
Use the System.IO.Log and the System.Diagnostics.Eventing.Reader namespaces.