Documentation de Dvp.Net. Forum : http://www.developpez.net/forums/f1239/applications/projets/projets-heberges/dvp-net/
Assembly: Developpez.Dotnet (in Developpez.Dotnet.dll) Version: 1.0.0.0 (1.0.0.0)
[Ceci est une documentation préliminaire, sous réserve de modification.]
Exécute une tâche dans un des threads dédiés
Namespace:
Developpez.Dotnet.ThreadingAssembly: Developpez.Dotnet (in Developpez.Dotnet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public virtual void ExecuteSingleTask( T obj, ThreadedWorker<(Of <(T>)>)..::.CallBackMethod callback, bool wait ) |
Visual Basic (Declaration) |
---|
Public Overridable Sub ExecuteSingleTask ( _ obj As T, _ callback As ThreadedWorker<(Of <(T>)>)..::.CallBackMethod, _ wait As Boolean _ ) |
Visual C++ |
---|
public: virtual void ExecuteSingleTask( T obj, ThreadedWorker<(Of <(T>)>)..::.CallBackMethod^ callback, bool wait ) |
Parameters
- obj
- Type: T
Objet constituant le travail
- callback
- Type: Developpez.Dotnet.Threading..::.ThreadedWorker<(Of <(T>)>)..::.CallBackMethod
Méthode à appeller pour le travail
- wait
- Type: System..::.Boolean
Indique si ExecuteSingleTask doit être bloquant jusqu'à la fin de l'exécution du travail sur tous les éléments de objects, ou s'il doit retourner immédiatement