Skip to main content

IDocumentPersistentStorageAsync.ClearAsync(TimeSpan) Method

Clears the storage by deleting objects whose lifetime exceeds the specified time.

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

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

NuGet Package: DevExpress.Web.Reporting.Common

Declaration

Task ClearAsync(
    TimeSpan timeToLive
)

Parameters

Name Type Description
timeToLive TimeSpan

The period of time an object can exist before it is disposed of.

Returns

Type Description
Task

A task that clears the storage.

See Also