View on GitHub

LiTools

Tools

BackgroundWorkModel class

Allow own userdata to check and handling task. background work.

public class BackgroundWorkModel

Public Members

name description
BackgroundWorkModel() Initializes a new instance of the BackgroundWorkModel class.
AutoDeleteWhenDone { get; set; } Gets or sets a value indicating whether shod this task be deleted when done.
BackgroundTaskRunning { get; set; } Gets or sets a value indicating whether is background task runinng?.
BackgroundTaskShodbeRunning { get; set; } Gets or sets a value indicating whether shod background task be running?.
DtLastCheckt { get; set; } Gets or sets when was this task last checket.
DtTaskCreated { get; set; } Gets or sets when was this task created.
DtWhileLastRun { get; set; } Gets or sets when was the background task last run?.
Name { get; set; } Gets or sets name of this task.
TaskAction { get; set; } Gets or sets Action that this background work shod do inside while loop.
TaskType { get; set; } Gets or sets task is longrunning or shortrunning background work.
Taskwork { get; set; } Gets or sets task to be run.
Token { get; set; } Gets or sets token to control this task.
WhileInterval { get; set; } Gets or sets when shod it be run. time in milleseconds.

See Also