You are developing an ASP.NET web application that uses health monitoring to log events to the Windows Event Log. The application contains a custom event that is defined in the following code segment.
Line numbers are included for reference only.
You need to ensure that the event is correctly added to the Windows event log.
How should you complete the relevant code? To answer, drag the appropriate code segment to the correct location or locations. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
ApplicationDetailCodeBase: Identifies the offset for the application detail event codes. This field is constant.
Raises an event by notifying any configured provider that the event has occurred. (Inherited from WebBaseEvent.)