Replaces the service used to clean the document storage with an empty service, to avoid automatic cleaning of this storage.
public WebDocumentViewerConfigurationBuilder UseEmptyStoragesCleaner()
Public Function UseEmptyStoragesCleaner As WebDocumentViewerConfigurationBuilder
A WebDocumentViewerConfigurationBuilder that can be used to further configure the Web Document Viewer services.
According to the time settings specified in the CacheCleanerSettings and StorageCleanerSettings classes, the default cleaner service periodically checks if the cache and file storage (FileReportStorage, FileDocumentStorage and FileExportedDocumentStorage) contain reports/documents/exported documents whose lifetime exceeds a certain amount of time. If such reports/documents/exported documents are found, they are deleted. Call the UseEmptyStoragesCleaner method to register an empty storage cleaner instead of the default one, so that documents are not removed automatically.