This documentation is archived and is not being maintained.

TeamFoundationJobService::QueueDelayedJob Method (TeamFoundationJobDefinition, Int32)

Queues a job that will be executed later.

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

public:
virtual int QueueDelayedJob(
	TeamFoundationJobDefinition^ job, 
	int maxDelaySeconds
) sealed

Parameters

job
Type: Microsoft.TeamFoundation.Framework.Client::TeamFoundationJobDefinition

The TeamFoundationJobDefinition of the job to queue.

maxDelaySeconds
Type: System::Int32

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

Return Value

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

Implements

ITeamFoundationJobService::QueueDelayedJob(TeamFoundationJobDefinition, Int32)

Show: