Skip to main content
All docs
V26.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.v26.1.Web.dll

    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