nerdexam
Microsoft

98-361 · Question #298

You are developing a new Windows application that needs to write messages to the event log. You use the EventLog class to write these messages. Each event log message must specify the name of the…

The correct answer is A. Source. See the full explanation below for the reasoning.

Question

You are developing a new Windows application that needs to write messages to the event log. You use the EventLog class to write these messages. Each event log message must specify the name of the application writing to an event log. Which property of the EventLog class should you use?

Options

  • ASource
  • BLog
  • CSite
  • DMachineName

How the community answered

(41 responses)
  • A
    78% (32)
  • B
    2% (1)
  • C
    15% (6)
  • D
    5% (2)

Community Discussion

No community discussion yet for this question.

Full 98-361 Practice