Click or drag to resize

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.9.0.0 (5.9.0)
Syntax
protected override bool TryExecuteTaskInline(
	Task task,
	bool taskWasPreviouslyQueued
)

Parameters

task
Type: System.Threading.TasksTask
The task to execute.
taskWasPreviouslyQueued
Type: SystemBoolean
Whether the task was previously queued.

Return Value

Type: Boolean
true if the task was executed; otherwise, false.
See Also