## ThreadPoolImpl::QueueUserWorkItem method


Ajoute un élément de travail à la file d'attente.

```cpp
bool System::Threading::ThreadPoolImpl::QueueUserWorkItem(WaitCallback callback, const System::SharedPtr<System::Object> &state)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| rappel | WaitCallback | Fonction de rappel à exécuter. |
| état | const System::SharedPtr\<System::Object\>\& | Argument de la fonction de rappel. |

### ReturnValue

Renvoie toujours vrai.

## Voir aussi

* Typedef [WaitCallback](../../waitcallback/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [ThreadPoolImpl](../)
* Namespace [System::Threading](../../)
* Library [Aspose.Page for C++](../../../)
