System.Diagnostics.EventLogEntry: Property Members

The properties of System.Diagnostics.EventLogEntry are listed below. For a list of all members, see the EventLogEntry Members list.

See Also: Inherited members from System.ComponentModel.Component

Public Properties

[read-only]
Categorystring.

Gets the text associated with the EventLogEntry.CategoryNumber property for this entry.

[read-only]
CategoryNumbershort.

Gets the category number of the event log entry.

[read-only]
Databyte[].

Gets the binary data associated with the entry.

[read-only]
EntryTypeEventLogEntryType.

Gets the event type of this entry.

[read-only]
EventIDint.

Gets the application-specific event identifier for the current event entry.

[read-only]
Indexint.

Gets the index of this entry in the event log.

[read-only]
InstanceIdlong.

Gets the resource identifier that designates the message text of the event entry.

[read-only]
MachineNamestring.

Gets the name of the computer on which this entry was generated.

[read-only]
Messagestring.

Gets the localized message associated with this event entry.

[read-only]
ReplacementStringsstring[].

Gets the replacement strings associated with the event log entry.

[read-only]
Sourcestring.

Gets the name of the application that generated this event.

[read-only]
TimeGeneratedDateTime.

Gets the local time at which this event was generated.

[read-only]
TimeWrittenDateTime.

Gets the local time at which this event was written to the log.

[read-only]
UserNamestring.

Gets the name of the user who is responsible for this event.