Méthode | Description | |
---|---|---|
Dispose ( ) : void |
Disposes of resources used by the scheduler.
|
|
IOTaskScheduler ( ) : System |
Initializes a new instance of the IOTaskScheduler class.
|
Méthode | Description | |
---|---|---|
GetScheduledTasks ( ) : IEnumerable |
Gets an enumerable of tasks queued to the scheduler. This implementation will always return an empty enumerable. |
|
QueueTask ( Task task ) : void |
Queues a task to the scheduler for execution on the I/O ThreadPool.
|
|
TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool |
Executes a task on the current thread.
|
Méthode | Description | |
---|---|---|
GetOrCreateWorkItem ( ) : System.Threading.WorkItem |
Gets or create a work item.
|
protected GetScheduledTasks ( ) : IEnumerable |
||
Résultat | IEnumerable |
protected QueueTask ( Task task ) : void | ||
task | Task | The Task to queue. |
Résultat | void |
protected TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool | ||
task | Task | The task to be executed. |
taskWasPreviouslyQueued | bool | Ignored. |
Résultat | bool |