Practice Questions
Question 1 | Which of the following are valid message type values that can be written in the event log? (Select all that apply.)
|
A1: | Answers A, B, C, and E are correct. The type of an event log message must be one of the EventLogEntryType enumerated values: Error, FailureAudit, Information, SuccessAudit, and Warning. Answer D is incorrect because the Kill method of the Process class is not a member of the EventLogEntryType enumeration. |
Question 2 | You want to determine whether a given event log exists on a machine. Which of the following methods can you call to determine this?
|
A2: | Answer A is correct. The Exists ... |
Get Developing and Implementing Windows®-Based Applications with Visual C#™ .NET and Visual Studio® .NET Exam Cram™ 2 (Exam 70-316) now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.