TeamFoundationJobService.QueueJobsNow Method (TeamFoundationRequestContext, IEnumerable<Guid>, Boolean)
Attempts to schedule the specified jobs to run immediately using the specified priority.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function QueueJobsNow ( _
requestContext As TeamFoundationRequestContext, _
jobIds As IEnumerable(Of Guid), _
highPriority As Boolean _
) As Integer
public int QueueJobsNow(
TeamFoundationRequestContext requestContext,
IEnumerable<Guid> jobIds,
bool highPriority
)
public:
int QueueJobsNow(
TeamFoundationRequestContext^ requestContext,
IEnumerable<Guid>^ jobIds,
bool highPriority
)
member QueueJobsNow :
requestContext:TeamFoundationRequestContext *
jobIds:IEnumerable<Guid> *
highPriority:bool -> int
public function QueueJobsNow(
requestContext : TeamFoundationRequestContext,
jobIds : IEnumerable<Guid>,
highPriority : boolean
) : int
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context
jobIds
Type: System.Collections.Generic.IEnumerable<Guid>Tje jobs which should be run
highPriority
Type: System.BooleanThe priority of the jobs
Return Value
Type: System.Int32
The number of jobs that were successfully scheduled to run immediately
.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.