QueuedTaskSchedulerTryExecuteTaskInline Method |
Tries to execute a task synchronously on the current thread.
Namespace:
SD.LLBLGen.Pro.ApplicationCore.Parallelization
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.10.0.0 (5.10.0)
Syntax protected override bool TryExecuteTaskInline(
Task task,
bool taskWasPreviouslyQueued
)
Protected Overrides Function TryExecuteTaskInline (
task As Task,
taskWasPreviouslyQueued As Boolean
) As Boolean
Parameters
- task
- Type: System.Threading.TasksTask
The task to execute. - taskWasPreviouslyQueued
- Type: SystemBoolean
Whether the task was previously queued.
Return Value
Type:
Booleantrue if the task was executed; otherwise, false.
See Also