ITeamFoundationJobService.QueueDelayedJobs Method (IEnumerable<Guid>)
Schedules the specified enumerable collection of jobs to be executed in the near future.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Déclaration
Function QueueDelayedJobs ( _
jobIds As IEnumerable(Of Guid) _
) As Integer
int QueueDelayedJobs(
IEnumerable<Guid> jobIds
)
int QueueDelayedJobs(
IEnumerable<Guid>^ jobIds
)
abstract QueueDelayedJobs :
jobIds:IEnumerable<Guid> -> int
function QueueDelayedJobs(
jobIds : IEnumerable<Guid>
) : int
Parameters
- jobIds
Type: System.Collections.Generic.IEnumerable<Guid>
An enumerable collection of job IDs of the jobs to schedule for execution.
Return Value
Type: System.Int32
The number of jobs that were successfully scheduled for execution.
Remarks
QueueDelayedJobs will only cause a job to run sooner or will have no effect. It will never postpone a job that is already scheduled to be executed in the near future.
.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.