Table of Contents

Method TryExecuteTaskInline

Namespace
Scaleout.Client.MethodInvocation
Assembly
Scaleout.Client.dll

TryExecuteTaskInline(Task, bool)

Tries to execute a task synchronously on the current thread.

protected override bool TryExecuteTaskInline(Task task, bool taskWasPreviouslyQueued)

Parameters

task Task

The task to execute.

taskWasPreviouslyQueued bool

Whether the task was previously queued.

Returns

bool

true if the task was executed; otherwise, false.