CacheCleanerSettings(TimeSpan, TimeSpan, TimeSpan, TimeSpan) Constructor

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

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

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

Declaration

public CacheCleanerSettings(
    TimeSpan dueTime,
    TimeSpan period,
    TimeSpan reportTimeToLive,
    TimeSpan documentTimeToLive
)
Public Sub New(
    dueTime As TimeSpan,
    period As TimeSpan,
    reportTimeToLive As TimeSpan,
    documentTimeToLive As TimeSpan
)

Parameters

Name Type Description
dueTime TimeSpan

A TimeSpan structure, specifying the time interval after which to run the cache cleaner.

period TimeSpan

A TimeSpan structure, specifying the period of time between each cleaning of the cache.

reportTimeToLive TimeSpan

A TimeSpan structure, specifying the lifetime of a report in the cache.

documentTimeToLive TimeSpan

A TimeSpan structure, specifying the lifetime of a report document in the cache.

See Also