Skip to main content
A newer version of this page is available. .

AzureCacheCleanerSettings Class

OBSOLETE

Use the CacheCleanerSettings class instead

Provides settings to clear a cache for storing documents and reports on Microsoft Azure.

Namespace: DevExpress.XtraReports.Web.Azure.WebDocumentViewer

Assembly: DevExpress.XtraReports.v20.2.Web.Azure.dll

NuGet Package: DevExpress.Web.Reporting.Azure

Declaration

[Obsolete("Use the DevExpress.XtraReports.Web.WebDocumentViewer.CacheCleanerSettings class instead")]
public class AzureCacheCleanerSettings :
    CacheCleanerSettings

Remarks

The AzureCacheCleanerSettings determines for how long cached documents and reports should be stored. To customize the default settings, register a new instance of this class with required time settings.

using DevExpress.XtraReports.Web.Azure.WebDocumentViewer;
using DevExpress.XtraReports.Web.WebDocumentViewer;
// ...

protected void Application_Start(object sender, System.EventArgs e) {
    DefaultWebDocumentViewerContainer.RegisterSingleton<AzureCacheCleanerSettings>(new AzureCacheCleanerSettings(dueTime, period, reportTimeToLive, documentTimeToLive));
}

Inheritance

Object
DevExpress.XtraReports.Web.WebDocumentViewer.Native.Services.StoragesCleanerSettingsBase
CacheCleanerSettings
AzureCacheCleanerSettings
See Also