TeamFoundationJobService.QueryJobQueue 方法
擷取處理序期間,已佇列組建和已排程的工作。
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
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
)
參數
- requestContext
型別:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- runningJobs
型別:System.Collections.Generic.List<TeamFoundationJobQueueEntry>%
正在進行中的工作,並且在執行開始時間。
- queuedJobs
型別:System.Collections.Generic.List<TeamFoundationJobQueueEntry>%
針對執行職業佇列,排序先依優先權和佇列的時間秒。
- scheduledJobs
型別:System.Collections.Generic.List<TeamFoundationJobQueueEntry>%
在未來排程執行工作,並且在佇列的時間。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。