Search Results for

    Show / Hide Table of Contents

    Class TempFileCleanup

    Used to cleanup temporary file locations.

    Inheritance
    System.Object
    RecurringHostedServiceBase
    Namespace: Umbraco.Cms.Infrastructure.HostedServices
    Assembly: cs.temp.dll.dll
    Syntax
    public class TempFileCleanup : RecurringHostedServiceBase, IDisposable
    Remarks

    Will run on all servers - even though file upload should only be handled on the scheduling publisher, this will ensure that in the case it happens on subscribers that they are cleaned up too.

    Constructors

    TempFileCleanup(IIOHelper, IMainDom, ILogger<TempFileCleanup>)

    Initializes a new instance of the TempFileCleanup class.

    Declaration
    public TempFileCleanup(IIOHelper ioHelper, IMainDom mainDom, ILogger<TempFileCleanup> logger)
    Parameters
    Type Name Description
    IIOHelper ioHelper

    Helper service for IO operations.

    IMainDom mainDom

    Representation of the main application domain.

    ILogger<TempFileCleanup> logger

    The typed logger.

    Methods

    PerformExecuteAsync(Object)

    Declaration
    public override Task PerformExecuteAsync(object state)
    Parameters
    Type Name Description
    System.Object state
    Returns
    Type Description
    Task
    In This Article
    • Constructors
      • TempFileCleanup(IIOHelper, IMainDom, ILogger<TempFileCleanup>)
    • Methods
      • PerformExecuteAsync(Object)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX