Метод | Описание | |
---|---|---|
Execute ( System.Threading.Tasks.Task task ) : void |
Executes the given task. The call might return immediately if the implementation uses an asynchronous execution strategy, or might block in the case of synchronous execution.
|
|
Execute ( System.Threading.Tasks.Task task, long startTimeout ) : void |
Executes the given task.
|
|
IsThrottleActive ( ) : bool |
Return whether owned throttle is currently active.
|
|
Submit ( System.Threading.Tasks.Task task ) : void |
Submits a task for execution.
|
Метод | Описание | |
---|---|---|
DoExecute ( System.Threading.Tasks.Task task ) : void |
Template method for the actual execution of a task. The default implementation starts the task.
|
Метод | Описание | |
---|---|---|
GetConcurrencyThrottlingTask ( System.Threading.Tasks.Task target ) : System.Threading.Tasks.Task |
protected DoExecute ( System.Threading.Tasks.Task task ) : void | ||
task | System.Threading.Tasks.Task | The task to execute. |
Результат | void |
public Execute ( System.Threading.Tasks.Task task ) : void | ||
task | System.Threading.Tasks.Task | the Task to execute (never null). |
Результат | void |
public Execute ( System.Threading.Tasks.Task task, long startTimeout ) : void | ||
task | System.Threading.Tasks.Task | The task to execute. |
startTimeout | long | The time duration ( inmilliseconds) within which the task is /// supposed to start. This is intended as a hint to the executor, allowing for /// preferred handling of immediate tasks. |
Результат | void |
public Submit ( System.Threading.Tasks.Task task ) : void | ||
task | System.Threading.Tasks.Task | The task to execute. |
Результат | void |