QueuedTaskSchedulerTryExecuteTaskInline Method |
Tries to execute a task synchronously on the current thread.
Namespace: SD.LLBLGen.Pro.ApplicationCore.ParallelizationAssembly: SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.0.0.0 (5.0.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