Class EmptyWastebasketJob
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Job used for scheduling emptying of wastebasket
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Util
Assembly: EPiServer.dll
Version: 11.20.7Syntax
[ScheduledPlugIn(GUID = "A42F6137-0BCF-4A88-BBD3-0EF219B7EAFA", DisplayName = "Empty wastebasket", LanguagePath = "/admin/databasejob/wastebasket", HelpFile = "emptywastebasketjob", DefaultEnabled = true, InitialTime = "1.0:30:0", IntervalLength = 1, IntervalType = ScheduledIntervalType.Weeks, Restartable = true)]
[ServiceConfiguration(IncludeServiceAccessor = false)]
public class EmptyWastebasketJob : ScheduledJobBase, IScheduledJob
Constructors
EmptyWastebasketJob()
Initializes a new instance of the EmptyWastebasketJob class.
Declaration
public EmptyWastebasketJob()
EmptyWastebasketJob(IContentRepository, IContentProviderManager)
Declaration
public EmptyWastebasketJob(IContentRepository contentRepository, IContentProviderManager providerManager)
Parameters
Type | Name | Description |
---|---|---|
IContentRepository | contentRepository | |
IContentProviderManager | providerManager |
Methods
Execute()
Start job
Declaration
public override string Execute()
Returns
Type | Description |
---|---|
System.String |
Overrides
Remarks
Uses the default IContentRepository and IContentProviderManager
Stop()
Declaration
public override void Stop()