ITeamFoundationJobService.QueueDelayedJob Method (Guid)

Schedules a job to be executed in the near future.

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


Function QueueDelayedJob ( _
    jobId As Guid _
) As Integer
int QueueDelayedJob(
    Guid jobId
int QueueDelayedJob(
    Guid jobId
abstract QueueDelayedJob : 
        jobId:Guid -> int 
function QueueDelayedJob(
    jobId : Guid
) : int


  • jobId
    Type: System.Guid
    The GUID of the job to schedule for execution.

Return Value

Type: System.Int32
Returns 1 if the job was successfully queued; otherwise, returns 0.


QueueDelayedJob 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

See Also


ITeamFoundationJobService Interface

QueueDelayedJob Overload

Microsoft.TeamFoundation.Framework.Client Namespace