Compartir a través de


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)

Syntax

'Declaración
Public Function QueueDelayedJobs ( _
    jobs As IEnumerable(Of TeamFoundationJobDefinition), _
    maxDelaySeconds As Integer _
) As Integer
public int QueueDelayedJobs(
    IEnumerable<TeamFoundationJobDefinition> jobs,
    int maxDelaySeconds
)
public:
virtual int QueueDelayedJobs(
    IEnumerable<TeamFoundationJobDefinition^>^ jobs, 
    int maxDelaySeconds
) sealed
abstract QueueDelayedJobs : 
        jobs:IEnumerable<TeamFoundationJobDefinition> * 
        maxDelaySeconds:int -> int 
override QueueDelayedJobs : 
        jobs:IEnumerable<TeamFoundationJobDefinition> * 
        maxDelaySeconds:int -> int 
public final function QueueDelayedJobs(
    jobs : IEnumerable<TeamFoundationJobDefinition>, 
    maxDelaySeconds : int
) : int

Parameters

  • 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)

.NET Framework Security

See Also

Reference

TeamFoundationJobService Class

QueueDelayedJobs Overload

Microsoft.TeamFoundation.Framework.Client Namespace