Click or drag to resize
AsyncWorker Class
Worker class for asynchronous operations.
Inheritance Hierarchy
SystemObject
  CMS.DataEngineAsyncWorker

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
public class AsyncWorker

The AsyncWorker type exposes the following members.

Constructors
  NameDescription
Public methodAsyncWorker
Top
Properties
  NameDescription
Public propertyLastException
Last exception.
Public propertyParameter
Parameter.
Public propertyProcessData
Process messages
Public propertyProcessGUID
Process GUID.
Public propertyStatus
Worker status.
Public propertyThread
Running thread of the worker
Top
Methods
  NameDescription
Public methodAttachToThread
Attaches to existing thread
Public methodHasFinished
Resets the waiting flag for the operation finish.
Public methodReset
Resets the worker.
Public methodRunAsync
Runs the action in an asynchronous thread.
Public methodStop
Stops the process.
Public methodWaitForFinish
Sets the process to wait until the process finishes (sets the waiting flag). Call from the OnFinished event handler.
Top
Events
  NameDescription
Public eventOnError
On error event handler.
Public eventOnFinished
On finished event handler.
Top
See Also