Skip to content

M_NChronicle_File_Configuration_RetentionPolicyConfiguration_WithFileSizeLimitInBytes

Andrew James edited this page Aug 3, 2017 · 1 revision

RetentionPolicyConfiguration.WithFileSizeLimitInBytes Method

Set the file size limit for the output file before it will be archived. The file size limit must be above 50KB. The default file size limit is 100MB;.

Namespace: NChronicle.File.Configuration
Assembly: NChronicle.File (in NChronicle.File.dll) Version: 1.0.1.0 (1.0.1.0)

Syntax

C#

public void WithFileSizeLimitInBytes(
	long bytes
)

VB

Public Sub WithFileSizeLimitInBytes ( 
	bytes As Long
)

F#

member WithFileSizeLimitInBytes : 
        bytes : int64 -> unit 

Parameters

 

bytes
Type: System.Int64
The maximum file size for the output file in Bytes.

See Also

Reference

RetentionPolicyConfiguration Class
NChronicle.File.Configuration Namespace

Clone this wiki locally