---
title: "QueueManager Class"
canonical: https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_QueueManager.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# QueueManager Class
 
This class is used to optimize asynchronous item loading.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
 
## Syntax
  
```
Public Class QueueManager
```
 
```csharp
public class QueueManager
```
 
## Remarks
  
Most of functionality of this class is used internally. However it has two public members which should be used when you implement your own list items and want the control to load them asynchronously.
 
The method [StartQueues()](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_QueueManager_StartQueues.htm.md) should be used every time when it is necessary to update items. Typically you call it in implementation of the [GetIconKey(View)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_IListItem_GetIconKey_1_033ca863.htm.md) and [GetText(Int32)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_IListItem_GetText_1_e1836fc4.htm.md) methods when this data is not available yet. You can freely call this method when queues are already in process. Such calls will be just ignored. This way you need not check whether it is already running or something like this.
 
The second method [MoveToHead(IQueueItem, Int32)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_QueueManager_MoveToHead_2_6bb3b06c.htm.md) is used to increase the priority of certain item. For example, when the user scrolls control view area, you can increase the priority of visible items by calling this method in the [GetIconKey(View)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_IListItem_GetIconKey_1_033ca863.htm.md) method implementation.
 
## Inheritance Hierarchy
  
- [System.Object](http://msdn2.microsoft.com/en-us/e5kfa45b)
    - Aurigma.GraphicsMill.WinControls.QueueManager
 
## Thread Safety
 Static members of this type are safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.
   
## See Also

### Reference

- [QueueManager Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_WinControls_QueueManager.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
