EventLogType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the type of events that are logged in an event log. Each log can only contain one type of event.
public enum class EventLogType
public enum EventLogType
type EventLogType =
Public Enum EventLogType
- Inheritance
Fields
Administrative | 0 | These events are primarily for end users, administrators, and support. The events that are found in the Administrative type logs indicate a problem and a well-defined solution that an administrator can act on. An example of an administrative event is an event that occurs when an application fails to connect to a printer. |
Analytical | 2 | Events in an analytic event log are published in high volume. They describe program operation and indicate problems that cannot be handled by user intervention. |
Debug | 3 | Events in a debug type event log are used solely by developers to diagnose a problem for debugging. |
Operational | 1 | Events in an operational type event log are used for analyzing and diagnosing a problem or occurrence. They can be used to trigger tools or tasks based on the problem or occurrence. An example of an operational event is an event that occurs when a printer is added or removed from a system. |
Applies to
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應