TeamFoundationJobService.QueryJobQueue, méthode
Récupère le travail en cours, en file d'attente et planifiés.
Espace de noms : Microsoft.TeamFoundation.Framework.Server
Assembly : Microsoft.TeamFoundation.Framework.Server (dans Microsoft.TeamFoundation.Framework.Server.dll)
Syntaxe
'Déclaration
Public Sub QueryJobQueue ( _
requestContext As TeamFoundationRequestContext, _
<OutAttribute> ByRef runningJobs As List(Of TeamFoundationJobQueueEntry), _
<OutAttribute> ByRef queuedJobs As List(Of TeamFoundationJobQueueEntry), _
<OutAttribute> ByRef scheduledJobs As List(Of TeamFoundationJobQueueEntry) _
)
public void QueryJobQueue(
TeamFoundationRequestContext requestContext,
out List<TeamFoundationJobQueueEntry> runningJobs,
out List<TeamFoundationJobQueueEntry> queuedJobs,
out List<TeamFoundationJobQueueEntry> scheduledJobs
)
Paramètres
- requestContext
Type : Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- runningJobs
Type : System.Collections.Generic.List<TeamFoundationJobQueueEntry>%
Le travail en cours, triés par heure de début d'exécution.
- queuedJobs
Type : System.Collections.Generic.List<TeamFoundationJobQueueEntry>%
Les tâches mises en file d'attente de l'exécution, triés par priorité d'abord et délai d'attente ensuite.
- scheduledJobs
Type : System.Collections.Generic.List<TeamFoundationJobQueueEntry>%
Les travaux planifiés pour l'exécution à l'avenir, triés par temps d'attente.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.