Click or drag to resize
DocumentSynchronizationWorker Class
Class for asynchronous document synchronization logging.
Inheritance Hierarchy

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

The DocumentSynchronizationWorker type exposes the following members.

Constructors
  NameDescription
Public methodDocumentSynchronizationWorker(LogDocumentChangeSettings)
Default constructor for single document.
Public methodDocumentSynchronizationWorker(LogMultipleDocumentChangeSettings)
Default constructor for multiple documents.
Top
Properties
  NameDescription
Public propertyCancel
If true, the worker is cancelled (doesn't execute)
(Inherited from AbstractWorker.)
Public propertyMultiple
If true, the task runs the multiple log tasks.
Public propertyMultipleSettings
Log multiple documents change settings.
Public propertyOrderChange
If true, the task runs the order change task.
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 propertySingleSettings
Log single document change settings.
Top
Methods
  NameDescription
Public methodGetDuplicityKey
Gets the duplicity key for the worker to eliminate duplicit queued workers.
(Inherited from AbstractWorker.)
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