Поделиться через


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

Attempts to schedule the specified jobs to run in the specified time, if the job is not already scheduled to run sooner.

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

Syntax

'Declaration
Public Function QueueDelayedJobs ( _
    requestContext As TeamFoundationRequestContext, _
    jobIds As IEnumerable(Of Guid) _
) As Integer
public int QueueDelayedJobs(
    TeamFoundationRequestContext requestContext,
    IEnumerable<Guid> jobIds
)
public:
int QueueDelayedJobs(
    TeamFoundationRequestContext^ requestContext, 
    IEnumerable<Guid>^ jobIds
)
member QueueDelayedJobs : 
        requestContext:TeamFoundationRequestContext * 
        jobIds:IEnumerable<Guid> -> int
public function QueueDelayedJobs(
    requestContext : TeamFoundationRequestContext, 
    jobIds : IEnumerable<Guid>
) : int

Parameters

Return Value

Type: System.Int32
The number of jobs that were successfully scheduled to run.

.NET Framework Security

See Also

Reference

TeamFoundationJobService Class

QueueDelayedJobs Overload

Microsoft.TeamFoundation.Framework.Server Namespace