This documentation is archived and is not being maintained.

EventLog Properties

The properties of the EventLog class are listed here. For a complete list of EventLog class members, see the EventLog Members topic.

Public Properties

public propertyContainer (inherited from Component) Gets the IContainer that contains the Component.
public propertyEnableRaisingEvents Gets or sets a value indicating whether the EventLog receives EntryWritten event notifications.
public propertyEntries Gets the contents of the event log.
public propertyLog Gets or sets the name of the log to read from or write to.
public propertyLogDisplayName Gets the event log's friendly name.
public propertyMachineName Gets or sets the name of the computer on which to read or write events.
public propertySite (inherited from Component) Gets or sets the ISite of the Component.
public propertySource Gets or sets the source name to register and use when writing to the event log.
public propertySynchronizingObject Gets or sets the object used to marshal the event handler calls issued as a result of an EventLog entry written event.

Protected Properties

protected propertyDesignMode (inherited from Component) Gets a value that indicates whether the Component is currently in design mode.
protected propertyEvents (inherited from Component) Gets the list of event handlers that are attached to this Component.

See Also

EventLog Class | System.Diagnostics Namespace