WorkManager<T>.RemoveFromQueue (workUnitStatus) Method

Removes all the WorkUnits from the working queue according to their status.
Public Sub RemoveFromQueue( _ 
ByVal status As workUnitStatus
)
This language is not supported or no code example is available.
public void RemoveFromQueue( 
workUnitStatus status 
)
This language is not supported or no code example is available.

Parameters

status
workUnitStatus

The status of the WorkUnit that must be removed from the queue.

Remarks
 
You can call this method to remove a completed WorkUnit to free up memory. If the status is workUnitStatus.InProgress, the current operation will be interrupted.

.NET Framework

Supported in: 4.8

In this article

Definition