ErrorEvent Class

ErrorEvent Class

Abstract:  Yes
Raised by:  Not applicable
Base Class:  DiagnosticEvent
Derived Classes:  ErrorMessageEvent, WarningMessageEvent

The abstract ErrorEvent class defines an event type for logging platform error message and exception events.

ErrorEvent implements the following properties:

Property

Type

Description

EventID

Integer

A unique numeric identifier for the error. Corresponds to the Event Log EventID for the event.

Message

String

A text string, provided by the platform, that describes the error.

Remarks

Abstract events do not appear directly in the logs. Properties inherited or defined by the abstract class appear in the logs when implemented in derived classes.

See Also

Event Logging Class Hierarchy | Logging and Analyzing Events | CommonEvent | Event Logging Schema: Abstract Events