This documentation is archived and is not being maintained.

TeamFoundationJobService::QueueDelayedJobs Method (IEnumerable<TeamFoundationJobDefinition>, Int32)

Queues the specified jobs to be executed later.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

public:
virtual int QueueDelayedJobs(
	IEnumerable<TeamFoundationJobDefinition^>^ jobs, 
	int maxDelaySeconds
) sealed

Parameters

jobs
Type: System.Collections.Generic::IEnumerable<TeamFoundationJobDefinition>

An enumerable collection of TeamFoundationJobDefinition objects that represent the jobs to queue.

maxDelaySeconds
Type: System::Int32

The maximum number of seconds to wait before executing the jobs.

Return Value

Type: System::Int32
The number of jobs that were queued.

Implements

ITeamFoundationJobService::QueueDelayedJobs(IEnumerable<TeamFoundationJobDefinition>, Int32)

Show: