RollFileExistsBehavior Enumeration

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Defines the behavior when the rool file is created.

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

Syntax

'Declaration
PublicEnumerationRollFileExistsBehavior
publicenumRollFileExistsBehavior
publicenum classRollFileExistsBehavior
publicenum RollFileExistsBehavior

Members

Member name Value Description
Overwrite 0 Overwrites the file if it already exists.
Increment 1 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.

See Also

Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.