FolderTaskWorker Class |
Namespace: CMS.MediaLibrary
public class FolderTaskWorker : BaseSynchronizationWorker
The FolderTaskWorker type exposes the following members.
Name | Description | |
---|---|---|
FolderTaskWorker |
Constructor.
|
Name | Description | |
---|---|---|
Cancel |
If true, the worker is cancelled (doesn't execute)
(Inherited from AbstractWorker.) | |
LibraryId |
Library ID.
| |
RunInSequence |
If true, the thread is a part of the sequence and should perform the actions after the previous thread finishes.
(Inherited from AbstractWorker.) | |
ServerId |
Server ID.
| |
SiteName |
Site name (optional).
| |
SourceFolder |
Source folder.
| |
TargetFolder |
Target folder (optional).
| |
TaskType |
Type of the task.
|
Name | Description | |
---|---|---|
GetDuplicityKey |
Gets the duplicity key for the worker to eliminate duplicit queued workers.
(Overrides AbstractWorkerGetDuplicityKey.) | |
RaiseStop |
Raises OnStop event.
(Inherited from AbstractWorker.) | |
Run |
Action that runs within a contexts of CurrentUser in which was worker created and SynchronizationActionContext.
(Inherited from BaseSynchronizationWorker.) | |
RunAsync |
Runs the worker as a new thread.
(Inherited from AbstractWorker.) | |
RunWorkerAction |
Runs the action.
(Overrides BaseSynchronizationWorkerRunWorkerAction.) |
Name | Description | |
---|---|---|
OnStop |
Raised when worker finishes.
(Inherited from AbstractWorker.) |