Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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, _
jobReferences As IEnumerable(Of TeamFoundationJobReference), _
priorityLevel As JobPriorityLevel _
) As Integer
public int QueueDelayedJobs(
TeamFoundationRequestContext requestContext,
IEnumerable<TeamFoundationJobReference> jobReferences,
JobPriorityLevel priorityLevel
)
public:
int QueueDelayedJobs(
TeamFoundationRequestContext^ requestContext,
IEnumerable<TeamFoundationJobReference^>^ jobReferences,
JobPriorityLevel priorityLevel
)
member QueueDelayedJobs :
requestContext:TeamFoundationRequestContext *
jobReferences:IEnumerable<TeamFoundationJobReference> *
priorityLevel:JobPriorityLevel -> int
public function QueueDelayedJobs(
requestContext : TeamFoundationRequestContext,
jobReferences : IEnumerable<TeamFoundationJobReference>,
priorityLevel : JobPriorityLevel
) : int
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context
- jobReferences
Type: System.Collections.Generic.IEnumerable<TeamFoundationJobReference>
- priorityLevel
Type: Microsoft.TeamFoundation.Framework.Common.JobPriorityLevel
Return Value
Type: System.Int32
The number of jobs that were successfully scheduled to run.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.