November Happy Hour will be moved to Thursday December 5th.

Class EmptyWastebasketJob

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Job used for scheduling emptying of wastebasket

Inheritance
System.Object
EmptyWastebasketJob
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: 9.12.2
Syntax
[ScheduledPlugIn(DisplayName = "Empty wastebasket", LanguagePath = "/admin/databasejob/wastebasket", HelpFile = "emptywastebasketjob", DefaultEnabled = true, InitialTime = "1.0:30:0", IntervalLength = 1, IntervalType = ScheduledIntervalType.Weeks)]
public class EmptyWastebasketJob : ScheduledJobBase

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

Stop()

Declaration
public override void Stop()
Overrides

Extension Methods