Used to perform asynchronous operations using a worker thread
whose work is queued for execution in a first-in, first-out fashion, one at a time.
| C# |
public class QueuedWorker
| All Members | Constructors | Methods | Properties | Events | |
| Icon | Member | Description |
|---|---|---|
| QueuedWorker()()() |
Creates a new instance.
| |
| QueuedWorker(ApartmentState) |
Creates a new instance.
| |
| QueuedWorker(String) |
Creates a new instance.
| |
| QueuedWorker(String, Nullable<(Of <(Int32>)>)) |
Creates a new instance.
| |
| QueuedWorker(String, ApartmentState) |
Creates a new instance.
| |
| QueuedWorker(String, ApartmentState, Nullable<(Of <(Int32>)>)) |
Creates a new instance.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Join(TimeSpan) |
Waits for the worker thread to exit.
| |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| OnWorkerShutdown(EventArgs) |
Raises the WorkerShutdown event
| |
| QueueWorkItem(QueuedWorkItem) |
Queues the given delegate for execution by the worker thread, which will be performed
after all previously queued work items have completed.
| |
| ShutdownWhenIdle | ||
| Stop(TimeSpan) |
Instructs the worker thread to drop any queued work items and exit.
how long to wait for the worker thread to exit normally
before aborting it, or Infinite to return without waiting | |
| ToString()()() | (Inherited from Object.) | |
| WorkerShutdown |
Event raised when the worker thread is shutdown either explictly or due to idle shutdown
| |
| WorkInProgressCounter |
| Object | |
| QueuedWorker | |