WorkManager<T>.RemoveFromQueue (T) Method

Removes a WorkUnit from the working queue.
Public Sub RemoveFromQueue( _ 
ByVal workUnit As T _ 
)
This language is not supported or no code example is available.
public void RemoveFromQueue( 
T workUnit 
)
This language is not supported or no code example is available.

Parameters

workUnit
T

The WorkUnit to remove from the queue.

Remarks
 
You can call this method to remove a completed WorkUnit to free up memory. If the workUnit is currently working, the operation will be interrupted.

.NET Framework

Supported in: 4.8

In this article

Definition