SingleThreadTaskScheduler Class |
Namespace: ShellBoost.Core.Utilities
public sealed class SingleThreadTaskScheduler : TaskScheduler, IDisposable
The SingleThreadTaskScheduler type exposes the following members.
| Name | Description | |
|---|---|---|
| SingleThreadTaskScheduler |
Initializes a new instance of the SingleThreadTaskScheduler class.
| |
| SingleThreadTaskScheduler(FuncThread, Boolean) |
Initializes a new instance of the SingleThreadTaskScheduler class.
| |
| SingleThreadTaskScheduler(String) |
Initializes a new instance of the SingleThreadTaskScheduler class.
|
| Name | Description | |
|---|---|---|
| DequeueOnDispose |
Gets or sets a value indicating whether to dequeue the remaining tasks when this instance is disposed.
Dequeuing will happen on the thread callind Dispose(), not on the scheduler's thread.
| |
| DequeueTimeout |
Gets or sets a value that defines the time to wait between dequeues.
| |
| DisposeThreadJoinTimeout |
Gets or sets a value that defines the maximum time to wait for the thread to finish when this instance is disposed.
| |
| LastDequeue |
Gets a value that indicates the last dequeue time.
| |
| QueueCount |
Gets the number of currently queued tasks.
| |
| WaitTimeout |
Gets or sets a value that defines the maximum time to periodically wait for stop and dequeue events to happen.
|
| Name | Description | |
|---|---|---|
| ClearQueue |
Remove all tasks from the queue.
Dequeuing will happen on the current thread, not on the scheduler's thread.
| |
| Dispose |
Releases all resources used by this instance.
| |
| TriggerDequeue |
Executes any tasks in queue, sending a dequeue event to the thread.
|