Click or drag to resize
BaseSynchronizationWorker Class
Base class for synchronization workers ensuring CurrentUser and SynchronizationActionContext availability for asynchronous actions.
Inheritance Hierarchy

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

The BaseSynchronizationWorker type exposes the following members.

Constructors
  NameDescription
Protected methodBaseSynchronizationWorker
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.)
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.
(Overrides AbstractWorkerRun.)
Public methodRunAsync
Runs the worker as a new thread.
(Inherited from AbstractWorker.)
Protected methodRunWorkerAction
Runs the worker action within the CurrentUser and SynchronizationActionContext contexts ensured on initialization of the worker instance.
Top
Events
  NameDescription
Public eventOnStop
Raised when worker finishes.
(Inherited from AbstractWorker.)
Top
See Also