NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

EventLogEntry.EntryType

Gets the type of this entry.

[Visual Basic]
Public ReadOnly Property EntryType As EventLogEntryType
[C#]
public EventLogEntryType EntryType {get;}
[C++]
public: __property EventLogEntryType get_EntryType();
[JScript]
public function get EntryType() : EventLogEntryType;

Property Value

The EventLogEntryType that indicates the Event Type associated with the entry in the event log system.

Remarks

There are five types of events that can be logged. All event classifications have well-defined common data and can optionally include event-specific data. The application indicates the event type when it reports an event. Each event must be of a single type. The Event Viewer uses this type to determine which icon to display in the list view of the log.

The event log entry type can be:

Value Type
1 Error
2 Warning
4 Information
8 Success Audit
16 Failure Audit

See Also

EventLogEntry Class | EventLogEntry Members | System.Diagnostics Namespace | CategoryNumber