Assembly: System (in system.dll)
|DoNotOverwrite||Indicates that existing entries are retained when the event log is full and new entries are discarded.|
|OverwriteAsNeeded||Indicates that each new entry overwrites the oldest entry when the event log is full.|
|OverwriteOlder||Indicates that new events overwrite events older than specified by the MinimumRetentionDays property value when the event log is full. New events are discarded if the event log is full and there are no events older than specified by the MinimumRetentionDays property value.|
Every event log has a maximum size limit and a configurable setting that provides the rule for writing new entries at that limit. When the event log has reached its maximum size, you can specify one of the following rules:
New entries will be discarded.
New entries will overwrite older entries.
New entries will either be discarded or will overwrite existing entries depending upon the age of the existing entries.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.