Class EmptyWastebasketJob
Job used for scheduling emptying of wastebasket
Implements
Inherited Members
Namespace: EPiServer.Util
Assembly: EPiServer.dll
Version: 12.0.3Syntax
[ScheduledPlugIn]
[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()