共用方式為


TeamFoundationJobService.QueueDelayedJobs Method (IEnumerable<Guid>, Int32)

Queues the specified jobs to be executed later.

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

Syntax

'宣告
Public Function QueueDelayedJobs ( _
    jobIds As IEnumerable(Of Guid), _
    maxDelaySeconds As Integer _
) As Integer
public int QueueDelayedJobs(
    IEnumerable<Guid> jobIds,
    int maxDelaySeconds
)
public:
virtual int QueueDelayedJobs(
    IEnumerable<Guid>^ jobIds, 
    int maxDelaySeconds
) sealed
abstract QueueDelayedJobs : 
        jobIds:IEnumerable<Guid> * 
        maxDelaySeconds:int -> int 
override QueueDelayedJobs : 
        jobIds:IEnumerable<Guid> * 
        maxDelaySeconds:int -> int 
public final function QueueDelayedJobs(
    jobIds : IEnumerable<Guid>, 
    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<Guid>, Int32)

.NET Framework Security

See Also

Reference

TeamFoundationJobService Class

QueueDelayedJobs Overload

Microsoft.TeamFoundation.Framework.Client Namespace