System.Diagnostics.OverflowAction.OverwriteOlder Field

Indicates that new events overwrite events older than specified by the EventLog.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 EventLog.MinimumRetentionDays property value.

Syntax

OverflowAction OverwriteOlder

Requirements

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