LimitedConcurrencyLevelTaskScheduler.TryDequeue Method
Attempts to dequeue a Task that was previously queued to this scheduler.
Protected NotOverridable Overrides Function TryDequeue( _
ByVal task As Task _
) As Boolean
This language is not supported or no code example is available.
protected sealed override bool TryDequeue(
Task task
)
This language is not supported or no code example is available.
protected:
bool TryDequeue(
Task^ task
) sealed
This language is not supported or no code example is available.
protected final function TryDequeue(
task : Task
) : boolean;
This language is not supported or no code example is available.
Parameters
-
task
-
Task
The Task to be dequeued.
Return Value
bool
A Boolean denoting whether the task argument was successfully dequeued.
.NET Framework
Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1