Click or drag to resize

StaTaskScheduler Class

Provides a scheduler that uses STA threads.
Inheritance Hierarchy
SystemObject
  System.Threading.TasksTaskScheduler
    DWSIM.FlowsheetSolver.TaskSchedulersStaTaskScheduler

Namespace: DWSIM.FlowsheetSolver.TaskSchedulers
Assembly: DWSIM.FlowsheetSolver (in DWSIM.FlowsheetSolver.dll) Version: 8.8.1.0
Syntax
public sealed class StaTaskScheduler : TaskScheduler, 
	IDisposable
Request Example View Source

The StaTaskScheduler type exposes the following members.

Constructors
 NameDescription
Public methodStaTaskSchedulerInitializes a new instance of the StaTaskScheduler class with the specified concurrency level.
Top
Properties
 NameDescription
Public propertyMaximumConcurrencyLevelGets the maximum concurrency level supported by this scheduler.
(Overrides TaskSchedulerMaximumConcurrencyLevel)
Top
Methods
 NameDescription
Public methodDispose Cleans up the scheduler by indicating that no more tasks will be queued. This method blocks until all threads successfully shutdown.
Top
Fields
 NameDescription
Private field_tasksStores the queued tasks to be executed by our pool of STA threads.
Private field_threadsThe STA threads used by the scheduler.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumNames
(Defined by General)
Public Extension MethodIsValidDouble
(Defined by General)
Top
See Also