AjaxUploader
Search Results for

    Show / Hide Table of Contents

    Class TempFileCleanupService

    Background timer that periodically cleans expired temporary uploads through the active provider. Call Start() once during application startup when background cleanup is desired.

    Inheritance
    object
    TempFileCleanupService
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: AjaxUploader.Services
    Assembly: AjaxUploader.dll
    Syntax
    public static class TempFileCleanupService

    Methods

    Start()

    Starts background cleanup using the configured upload expiry interval.

    Declaration
    public static void Start()

    Start(TimeSpan)

    Starts background cleanup using a custom interval. Repeated calls are ignored while the timer is already running.

    Declaration
    public static void Start(TimeSpan interval)
    Parameters
    Type Name Description
    TimeSpan interval

    Stop()

    Stops background cleanup.

    Declaration
    public static void Stop()
    In this article
    Back to top AjaxUploader 5.0 API Reference