AzureCacheCleanerSettings Class

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

Namespace: DevExpress.XtraReports.Web.Azure.WebDocumentViewer

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

Declaration

[Obsolete("Use the DevExpress.XtraReports.Web.WebDocumentViewer.CacheCleanerSettings class instead")]
public class AzureCacheCleanerSettings :
    CacheCleanerSettings
<Obsolete("Use the DevExpress.XtraReports.Web.WebDocumentViewer.CacheCleanerSettings class instead")>
Public Class AzureCacheCleanerSettings
    Inherits CacheCleanerSettings

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