Click or drag to resize
FolderTaskWorker Class
Class for asynchronous folder tasks logging.
Inheritance Hierarchy

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 9.0.0
Syntax
C#
public class FolderTaskWorker : BaseSynchronizationWorker

The FolderTaskWorker type exposes the following members.

Constructors
  NameDescription
Public methodFolderTaskWorker
Constructor.
Top
Properties
  NameDescription
Public propertyCancel
If true, the worker is cancelled (doesn't execute)
(Inherited from AbstractWorker.)
Public propertyLibraryId
Library ID.
Public propertyRunInSequence
If true, the thread is a part of the sequence and should perform the actions after the previous thread finishes.
(Inherited from AbstractWorker.)
Public propertyServerId
Server ID.
Public propertySiteName
Site name (optional).
Public propertySourceFolder
Source folder.
Public propertyTargetFolder
Target folder (optional).
Public propertyTaskType
Type of the task.
Top
Methods
  NameDescription
Public methodGetDuplicityKey
Gets the duplicity key for the worker to eliminate duplicit queued workers.
(Overrides AbstractWorkerGetDuplicityKey.)
Protected methodRaiseStop
Raises OnStop event.
(Inherited from AbstractWorker.)
Public methodRun
Action that runs within a contexts of CurrentUser in which was worker created and SynchronizationActionContext.
(Inherited from BaseSynchronizationWorker.)
Public methodRunAsync
Runs the worker as a new thread.
(Inherited from AbstractWorker.)
Protected methodRunWorkerAction
Runs the action.
(Overrides BaseSynchronizationWorkerRunWorkerAction.)
Top
Events
  NameDescription
Public eventOnStop
Raised when worker finishes.
(Inherited from AbstractWorker.)
Top
See Also