You are creating a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5. You need to ensure that the application records event tracking information in the Windows Event Log. What should you do?
A.
Derive one custom class each from the TrackingService class and the TrackingChannel class. Return the custom class derived from the GetTrackingChannel method of the TrackingChannel class. Write the tracking information to the Windows Event Log in the Send method.
B.
Derive one custom class each from the TrackingService class and the TrackingChannel class. Return the custom class derived from the GetTrackingChannel method of the TrackingChannel class. Write the tracking information to the Windows Event Log in the GetProfile method.
C.
Derive one custom class each from the TrackingService class and the TrackingProfile class. Return the custom class derived from the TrackingProfile from the GetProfile method. Write the tracking information to the Windows Event Log in the constructor of the custom class derived from the TrackingProfile class.
D.
Derive one custom class each from the TrackingChannel class and the TrackingProfile class. Create an instance of the custom derived TrackingProfile class in the Send method. Write the tracking information to the Windows Event Log in the constructor of the custom class derived from the TrackingProfile class.