Skip to main content

StorageCleanerSettings.ExportedDocumentTimeToLive Property

Indicates the lifetime of an exported document in storage.

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

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

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

public TimeSpan ExportedDocumentTimeToLive { get; protected set; }

Property Value

Type Description
TimeSpan

A TimeSpan structure.

Remarks

The ExportedDocumentTimeToLive setting is in effect only for asynchronous export or printing when the exported documents use File Storage or Azure Environment. That is, it works if one of the following methods was previously run:

ASP.NET ASP.NET Core
DefaultWebDocumentViewerContainer.UseFileExportedDocumentStorage WebDocumentViewerConfigurationBuilder.UseFileExportedDocumentStorage
AzureWebDocumentViewerContainer.UseAzureEnvironment
AzureWebDocumentViewerContainer.UseCachedReportSourceBuilder

Use the StorageCleanerSettings constructor to specify this setting. The lifetime of the exported document in the cache is measured from the last access time.

See Also