Class ThumbnailPropertiesClearJob
A job that clears thumbnail properties.
Implements
Inherited Members
Namespace: EPiServer.Util
Assembly: EPiServer.dll
Version: 12.0.3Syntax
[ScheduledPlugIn(GUID = "F1B8E71C-5E6F-41C2-AB3E-D8FD85EF6C6D", DisplayName = "Thumbnail Properties Clear Job", LanguagePath = "/admin/databasejob/thumbnailpropertiesclearjob", HelpFile = "thumbnailpropertiesclearjob", Restartable = true)]
[ServiceConfiguration(IncludeServiceAccessor = false)]
public class ThumbnailPropertiesClearJob : ScheduledJobBase, IScheduledJob
Constructors
ThumbnailPropertiesClearJob()
Initializes a new instance of the ThumbnailPropertiesClearJob class.
Declaration
public ThumbnailPropertiesClearJob()
ThumbnailPropertiesClearJob(ThumbnailManager)
Initializes a new instance of the ThumbnailPropertiesClearJob class.
Declaration
public ThumbnailPropertiesClearJob(ThumbnailManager thumbnailManager)
Parameters
Type | Name | Description |
---|---|---|
ThumbnailManager | thumbnailManager | Thumbnail manager, which will be used to get all media, and clean up thumbnail. |
Methods
Execute()
Start job
Declaration
public override string Execute()
Returns
Type | Description |
---|---|
System.String |
Overrides
OnStatusChanged(String)
Declaration
protected override void OnStatusChanged(string statusMessage)
Parameters
Type | Name | Description |
---|---|---|
System.String | statusMessage |
Overrides
Stop()
Declaration
public override void Stop()