StaTaskSchedulerTryExecuteTaskInline - метод |
Determines whether a Task may be inlined.
Пространство имён:
Tessa.Platform
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис protected override bool TryExecuteTaskInline(
Task task,
bool taskWasPreviouslyQueued
)
Protected Overrides Function TryExecuteTaskInline (
task As Task,
taskWasPreviouslyQueued As Boolean
) As Boolean
protected:
virtual bool TryExecuteTaskInline(
Task^ task,
bool taskWasPreviouslyQueued
) override
abstract TryExecuteTaskInline :
task : Task *
taskWasPreviouslyQueued : bool -> bool
override TryExecuteTaskInline :
task : Task *
taskWasPreviouslyQueued : bool -> bool
Параметры
- task
- Тип: System.Threading.TasksTask
The task to be executed. - taskWasPreviouslyQueued
- Тип: SystemBoolean
Whether the task was previously queued.
Возвращаемое значение
Тип:
Booleantrue if the task was successfully inlined; otherwise, false.
См. также