View Source
  Class ContentVersionCleanup
  
  Recurring hosted service that executes the content history cleanup.
 
  
  
    Inheritance
      System.Object
      
      
   
  
  Assembly: Umbraco.Infrastructure.dll
  Syntax
  
    public class ContentVersionCleanup : RecurringHostedServiceBase
   
  Constructors
  
  
    View Source
  
  ContentVersionCleanup(IRuntimeState, ILogger<ContentVersionCleanup>, IOptionsMonitor<ContentSettings>, IContentVersionService, IMainDom, IServerRoleAccessor)
  
  
  Declaration
  
    public ContentVersionCleanup(IRuntimeState runtimeState, ILogger<ContentVersionCleanup> logger, IOptionsMonitor<ContentSettings> settingsMonitor, IContentVersionService service, IMainDom mainDom, IServerRoleAccessor serverRoleAccessor)
   
  Parameters
  
  Methods
  
  
    View Source
  
  PerformExecuteAsync(Object)
  
  
  Declaration
  
    public override Task PerformExecuteAsync(object state)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        state | 
         | 
      
    
  
  Returns