ILoggingConfigurationSendToRollingFileTraceListener.RollAfterSize Method
Specifies the threshold in file size used for rolling of the RollingFlatFileTraceListener.
Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent
Assembly: Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll) Version: 6.0.0.0 (6.0.1304.0)
Syntax
ILoggingConfigurationSendToRollingFileTraceListener RollAfterSize(
int rollSizeInKB
)
'Declaration
Function RollAfterSize (
rollSizeInKB As Integer
) As ILoggingConfigurationSendToRollingFileTraceListener
ILoggingConfigurationSendToRollingFileTraceListener^ RollAfterSize(
int rollSizeInKB
)
Parameters
- rollSizeInKB
Type: System.Int32
The threshold in file size used for rolling.
Return Value
Type: ILoggingConfigurationSendToRollingFileTraceListener
Fluent interface that can be used to further configure the created RollingFlatFileTraceListenerData.
See Also
ILoggingConfigurationSendToRollingFileTraceListener Interface
ILoggingConfigurationSendToRollingFileTraceListener Members
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Fluent Namespace
Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener
Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.RollingFlatFileTraceListenerData