Represents a queue for tasks run on a bcakcground thread
| C# |
public class TaskQueue
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| TaskQueue()()() | Initializes a new instance of the TaskQueue class | |
| TaskQueue(Guid) | Initializes a new instance of the TaskQueue class | |
| CanResume | ||
| CanStop | ||
| CompareByCompleteUTC(TaskQueue, TaskQueue) |
Compares 2 instances of TaskQueue.
| |
| CompareByLastStatusUpdateUTC(TaskQueue, TaskQueue) |
Compares 2 instances of TaskQueue.
| |
| CompareByQueuedUTC(TaskQueue, TaskQueue) |
Compares 2 instances of TaskQueue.
| |
| CompareBySerializedTaskObject(TaskQueue, TaskQueue) |
Compares 2 instances of TaskQueue.
| |
| CompareBySerializedTaskType(TaskQueue, TaskQueue) |
Compares 2 instances of TaskQueue.
| |
| CompareByStartUTC(TaskQueue, TaskQueue) |
Compares 2 instances of TaskQueue.
| |
| CompareByStatus(TaskQueue, TaskQueue) |
Compares 2 instances of TaskQueue.
| |
| CompareByTaskName(TaskQueue, TaskQueue) |
Compares 2 instances of TaskQueue.
| |
| CompleteRatio |
A value between 0 and 1 indicating percent complete where 1 = 100%, 0.5 = 50%, etc.
| |
| CompleteUTC | ||
| Delete(Guid) |
Deletes an instance of TaskQueue. Returns true on success.
| |
| DeleteCompleted()()() |
Deletes all completed tasks
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() | (Inherited from Object.) | |
| GetHashCode()()() | (Inherited from Object.) | |
| GetPage(Int32, Int32, Int32%) |
Gets an IList with page of instances of TaskQueue.
| |
| GetPageBySite(Guid, Int32, Int32, Int32%) |
Gets an IList with page of site specific instances of TaskQueue.
| |
| GetPageUnfinished(Int32, Int32, Int32%) |
Gets an IList with page of instances of TaskQueue.
| |
| GetPageUnfinishedBySite(Guid, Int32, Int32, Int32%) |
Gets an IList with page of site specific instances of TaskQueue.
| |
| GetTasksForNotification()()() |
Gets an IList with all instances of TaskQueue that have completed but not been notified.
| |
| GetTasksNotStarted()()() |
Gets an IList with all instances of TaskQueue that have not been started yet.
| |
| GetType()()() | (Inherited from Object.) | |
| GetUnfinished()()() |
Gets an IList with all instances of TaskQueue that have not finished running yet.
| |
| GetUnfinished(Guid) |
Gets an IList with all site specific instances of TaskQueue that have not finished running yet.
| |
| Guid | ||
| IsStalled(TaskQueue) | ||
| LastStatusUpdateUTC | ||
| MemberwiseClone()()() | (Inherited from Object.) | |
| NewGuid | ||
| NotificationFromEmail | ||
| NotificationSentUTC | ||
| NotificationSubject | ||
| NotificationToEmail | ||
| NotifyOnCompletion | ||
| QueuedBy | ||
| QueuedUTC | ||
| Save()()() |
Saves this instance of TaskQueue. Returns true on success.
| |
| SerializedTaskObject | ||
| SerializedTaskType | ||
| SiteGuid | ||
| StartUTC | ||
| Status | ||
| TaskCompleteMessage | ||
| TaskName | ||
| ToString()()() | (Inherited from Object.) | |
| UpdateFrequency |
The frequency in seconds at which task status updates are expected.
If no update to taskqueue status for within this value the task is considered stalled.
| |
| UpdateNotification()()() |
| Object | |
| TaskQueue | |