RollFileExistsBehavior Enumeration

Defines the behavior when the roll file is created.

Namespace: Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners
Assembly: Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll) Version: (6.0.1304.0)

public enum RollFileExistsBehavior

Member nameValueDescription
Overwrite0 Overwrites the file if it already exists.
Increment1 Use a secuence number at the end of the generated file if it already exists. If it fails again then increment the secuence until a non existent filename is found.