ConcurrencyLimiterTryExecuteTaskInline Method
Determines whether the provided
Task can be executed synchronously
in this call, and if it can, executes it.
Namespace: Gemstone.ThreadingAssembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.156 -- Release Build+d9c3c9ff423cb81bc351c70c72797c5bc686ec2e
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
function TryExecuteTaskInline(task, taskWasPreviouslyQueued);
- task Task
- The Task to be executed.
- taskWasPreviouslyQueued Boolean
-
A Boolean denoting whether or not task has previously been queued.
If this parameter is True, then the task may have been previously queued (scheduled);
if False, then the task is known not to have been queued,
and this call is being made in order to execute the task inline without queuing it.
BooleanA
Boolean value indicating whether the task was executed inline.