StaTaskScheduler 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
public sealed class StaTaskScheduler : TaskScheduler, 
	IDisposable
Inheritance
Object    TaskScheduler    StaTaskScheduler
Implements
IDisposable

Constructors

StaTaskSchedulerInitializes a new instance of the StaTaskScheduler class with the specified concurrency level.

Properties

MaximumConcurrencyLevelGets 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

_tasksStores the queued tasks to be executed by our pool of STA threads.
_threadsThe STA threads used by the scheduler.

Extension Methods

GetEnumNames
(Defined by General)
IsValidDouble
(Defined by General)

See Also