Delen via


TeamFoundationJobService.QueryJobQueue Method (TeamFoundationRequestContext, List<TeamFoundationJobQueueEntry>%, List<TeamFoundationJobQueueEntry>%, List<TeamFoundationJobQueueEntry>%)

Retrieves jobs in progress, queued and scheduled.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
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
)
public:
void QueryJobQueue(
    TeamFoundationRequestContext^ requestContext, 
    [OutAttribute] List<TeamFoundationJobQueueEntry^>^% runningJobs, 
    [OutAttribute] List<TeamFoundationJobQueueEntry^>^% queuedJobs, 
    [OutAttribute] List<TeamFoundationJobQueueEntry^>^% scheduledJobs
)
member QueryJobQueue : 
        requestContext:TeamFoundationRequestContext * 
        runningJobs:List<TeamFoundationJobQueueEntry> byref * 
        queuedJobs:List<TeamFoundationJobQueueEntry> byref * 
        scheduledJobs:List<TeamFoundationJobQueueEntry> byref -> unit
public function QueryJobQueue(
    requestContext : TeamFoundationRequestContext, 
    runningJobs : List<TeamFoundationJobQueueEntry>, 
    queuedJobs : List<TeamFoundationJobQueueEntry>, 
    scheduledJobs : List<TeamFoundationJobQueueEntry>
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationJobService Class

QueryJobQueue Overload

Microsoft.TeamFoundation.Framework.Server Namespace