This documentation is archived and is not being maintained.

TeamFoundationJobService::QueueDelayedJob Method (Guid, 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(
	Guid jobId, 
	int maxDelaySeconds
) sealed

Parameters

jobId
Type: System::Guid

The Guid object that represents the job ID 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(Guid, Int32)

Show: