Method | Description | |
---|---|---|
SchedulerTaskFactory ( ITaskSchedulerFactory schedulerFactory ) : System |
Initializes a new instance of the SchedulerTaskFactory class.
|
|
TryStartNew ( Action |
Tries to add a new task to the task factory The factory may reject the request if it's too busy. |
Method | Description | |
---|---|---|
SchedulerHasRoom ( |
Returns true if the scheduler has room for another task
|
public SchedulerTaskFactory ( ITaskSchedulerFactory schedulerFactory ) : System | ||
schedulerFactory | ITaskSchedulerFactory | The scheduler factory. |
return | System |
public TryStartNew ( Action | ||
action | Action | The action. |
state | The state. | |
continueWith | Action |
The continue with action. |
task | System.Threading.Tasks.Task | The task. |
return | TryStartNewResult |