Skip to main content
All docs
V25.1
  • IDocumentPersistentStorageAsync.ClearAsync(TimeSpan) Method

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

    Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

    Assembly: DevExpress.XtraReports.v25.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