Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ITeamFoundationJobService.QueueDelayedJobs Method (IEnumerable<Guid>, Int32)

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)

int QueueDelayedJobs(
	IEnumerable<Guid> jobIds,
	int maxDelaySeconds


Type: System.Collections.Generic.IEnumerable<Guid>

An enumerable collection of job IDs of the jobs to schedule for execution.

Type: System.Int32

The number of seconds to delay the start of the job.

Return Value

Type: System.Int32
The number of jobs that were successfully scheduled for execution.

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.

© 2015 Microsoft