System.Diagnostics.EventLog.MaximumKilobytes Property

Gets or sets the maximum event log size in kilobytes.

Syntax

[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.MonoTODO]
[System.Runtime.InteropServices.ComVisible(false)]
public long MaximumKilobytes { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

The EventLog.MaximumKilobytes property represents the size limit of the event log file. When the event log reaches the size limit, the configured EventLog.OverflowAction value determines whether new entries are discarded, or whether new entries overwrite older entries.

Note:

This property represents a configuration setting for the event log represented by this instance. When the event log reaches its maximum size, this property specifies how the operating system handles new entries written by all event sources registered for the event log.

Requirements

Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0