Class BackgroundWorkManager
Implements background worker which can execute tasks in the background. Use TaskQueue property in order to manage tasks. Use Start() and Stop() methods to control background worker execution.
public class BackgroundWorkManager : BaseObject, IBaseObject
- Inheritance
-
BackgroundWorkManager
- Implements
Constructors
- BackgroundWorkManager()
Initializes a new instance of the BackgroundWorkManager class
- BackgroundWorkManager(BackgroundTaskQueue)
Initializes a new instance of the BackgroundWorkManager class with the specified tasks queue.
Properties
- TaskQueue
Gets tasks queue.
Methods
- Start()
Starts execution of the background tasks.
- Stop()
Stops execution of the background tasks.