Jaa


RollFileExistsBehavior Enumeration

Applies to: Semantic Logging 2.0

Defines the behavior when the roll file is created.

Namespace: Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Sinks
Assembly: Microsoft.Practices.EnterpriseLibrary.SemanticLogging.TextFile (in Microsoft.Practices.EnterpriseLibrary.SemanticLogging.TextFile.dll) Version: 2.0.1406.1

Syntax

public enum RollFileExistsBehavior
'Declaration
Public Enumeration RollFileExistsBehavior

Members

Member name Value Description
Overwrite 0 Overwrites the file if it already exists.
Increment 1 Use a sequence number at the end of the generated file if it already exists.

See Also

Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Sinks Namespace