Sta Task Scheduler Class
Provides a scheduler that uses STA threads.
Definition
Namespace: DWSIM.FlowsheetSolver.TaskSchedulers
Assembly: DWSIM.FlowsheetSolver (in DWSIM.FlowsheetSolver.dll) Version: 10.0.0.0
Assembly: DWSIM.FlowsheetSolver (in DWSIM.FlowsheetSolver.dll) Version: 10.0.0.0
C#
public sealed class StaTaskScheduler : TaskScheduler,
IDisposableVB
Public NotInheritable Class StaTaskScheduler
Inherits TaskScheduler
Implements IDisposable- Inheritance
- Object TaskScheduler StaTaskScheduler
- Implements
- IDisposable
Constructors
| StaTaskScheduler | Initializes a new instance of the StaTaskScheduler class with the specified concurrency level. |
Properties
| MaximumConcurrencyLevel | Gets the maximum concurrency level supported by this scheduler. (Overrides TaskSchedulerMaximumConcurrencyLevel) |
Methods
| Dispose | Cleans up the scheduler by indicating that no more tasks will be queued. This method blocks until all threads successfully shutdown. |
Fields
| _tasks | Stores the queued tasks to be executed by our pool of STA threads. |
| _threads | The STA threads used by the scheduler. |
Extension Methods
| GetEnumNames | (Defined by General) |
| IsValidDouble | (Defined by General) |