Click or drag to resize
SynchronizationWorker Class
Class for asynchronous object changes logging.
Inheritance Hierarchy

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

The SynchronizationWorker type exposes the following members.

Constructors
  NameDescription
Public methodSynchronizationWorker
Constructor.
Top
Properties
  NameDescription
Public propertyCancel
If true, the worker is cancelled (doesn't execute)
(Inherited from AbstractWorker.)
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 propertySettings
Log object change settings
Top
Methods
  NameDescription
Public methodGetDuplicityKey
Gets the duplicity key for the worker to eliminate duplicate 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