Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

StorageCleanerSettings(TimeSpan, TimeSpan, TimeSpan, TimeSpan, TimeSpan) Constructor

In This Article

Initializes a new instance of the StorageCleanerSettings class with the specified settings.

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

Assembly: DevExpress.XtraReports.v24.2.Web.dll

NuGet Package: DevExpress.Web.Reporting.Common

#Declaration

public StorageCleanerSettings(
    TimeSpan dueTime,
    TimeSpan period,
    TimeSpan reportTimeToLive,
    TimeSpan documentTimeToLive,
    TimeSpan exportedDocumentTimeToLive
)

#Parameters

Name Type Description
dueTime TimeSpan

A TimeSpan structure, specifying the delay between the application start-up and the start of cache cleaning services.

period TimeSpan

A TimeSpan structure, specifying the interval at which all cached resources (reports, documents, exported documents) are checked for expiration.

reportTimeToLive TimeSpan

A TimeSpan structure, specifying the lifetime of a report (REPX template) in the cache. This time is measured from the the last access time.

documentTimeToLive TimeSpan

A TimeSpan structure, specifying the lifetime of the PRNX document in the cache. This time is measured from the the last access time. If there is no cached copy, an exception occurs.

exportedDocumentTimeToLive TimeSpan

A TimeSpan structure, specifying the lifetime of the exported document in the cache. This time is measured from the the last access time. This setting is in effect only for asynchronous exporting or printing when the exported documents use File Storage or Azure Environment.

See Also