View Source
Class ContentVersionCleanupJob
Recurring hosted service that executes the content history cleanup.
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public class ContentVersionCleanupJob : IRecurringBackgroundJob
Constructors
View Source
ContentVersionCleanupJob(ILogger<ContentVersionCleanupJob>, IOptionsMonitor<ContentSettings>, IContentVersionService)
Declaration
public ContentVersionCleanupJob(ILogger<ContentVersionCleanupJob> logger, IOptionsMonitor<ContentSettings> settingsMonitor, IContentVersionService service)
Parameters
Properties
View Source
Period
Declaration
public TimeSpan Period { get; }
Property Value
Type |
Description |
TimeSpan |
|
Methods
View Source
RunJobAsync()
Declaration
public Task RunJobAsync()
Returns
Events
View Source
PeriodChanged
Declaration
public event EventHandler PeriodChanged
Event Type
Type |
Description |
EventHandler |
|