Table of Contents

Class BackgroundWorkManager

Namespace
Alternet.UI.Threading
Assembly
Alternet.UI.Common.dll

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

Default

Get default background worker. Start() is called automatically when it is first accessed.

TaskQueue

Gets tasks queue.

Methods

Start()

Starts execution of the background tasks.

Stop()

Stops execution of the background tasks.