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
- requestContext
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- runningJobs 
 Type: System.Collections.Generic.List<TeamFoundationJobQueueEntry>%- Jobs in progress, sorted by execution start time. 
- queuedJobs 
 Type: System.Collections.Generic.List<TeamFoundationJobQueueEntry>%- Jobs queued for execution, sorted by priority first and queue time second. 
- scheduledJobs 
 Type: System.Collections.Generic.List<TeamFoundationJobQueueEntry>%- Jobs scheduled for execution in the future, sorted by queue time. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.