TeamFoundationJobService.QueueJobsNow Method (TeamFoundationRequestContext, IEnumerable<Guid>, JobPriorityLevel)
Attempts to schedule the specified jobs to run immediately using the specified priority.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function QueueJobsNow ( _
requestContext As TeamFoundationRequestContext, _
jobIds As IEnumerable(Of Guid), _
priorityLevel As JobPriorityLevel _
) As Integer
public int QueueJobsNow(
TeamFoundationRequestContext requestContext,
IEnumerable<Guid> jobIds,
JobPriorityLevel priorityLevel
)
public:
int QueueJobsNow(
TeamFoundationRequestContext^ requestContext,
IEnumerable<Guid>^ jobIds,
JobPriorityLevel priorityLevel
)
member QueueJobsNow :
requestContext:TeamFoundationRequestContext *
jobIds:IEnumerable<Guid> *
priorityLevel:JobPriorityLevel -> int
public function QueueJobsNow(
requestContext : TeamFoundationRequestContext,
jobIds : IEnumerable<Guid>,
priorityLevel : JobPriorityLevel
) : int
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context
jobIds
Type: System.Collections.Generic.IEnumerable<Guid>Tje jobs which should be run
- priorityLevel
Type: Microsoft.TeamFoundation.Framework.Common.JobPriorityLevel
Return Value
Type: System.Int32
The number of jobs that were successfully scheduled to run immediately
.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.