AsyncWorker Class |
Namespace: CMS.DataEngine
public class AsyncWorker
The AsyncWorker type exposes the following members.
Name | Description | |
---|---|---|
AsyncWorker |
Name | Description | |
---|---|---|
LastException |
Last exception.
| |
Parameter |
Parameter.
| |
ProcessData |
Process messages
| |
ProcessGUID |
Process GUID.
| |
Status |
Worker status.
| |
Thread |
Running thread of the worker
|
Name | Description | |
---|---|---|
AttachToThread |
Attaches to existing thread
| |
HasFinished |
Resets the waiting flag for the operation finish.
| |
Reset |
Resets the worker.
| |
RunAsync |
Runs the action in an asynchronous thread.
| |
Stop |
Stops the process.
| |
WaitForFinish |
Sets the process to wait until the process finishes (sets the waiting flag). Call from the OnFinished event handler.
|
Name | Description | |
---|---|---|
OnError |
On error event handler.
| |
OnFinished |
On finihed event handler.
|