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.
Puts the specified job in the queue and starts it immediately.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Function QueueJobNow ( _
jobId As Guid, _
highPriority As Boolean _
) As Integer
int QueueJobNow(
Guid jobId,
bool highPriority
)
int QueueJobNow(
Guid jobId,
bool highPriority
)
abstract QueueJobNow :
jobId:Guid *
highPriority:bool -> int
function QueueJobNow(
jobId : Guid,
highPriority : boolean
) : int
Parameters
jobId
Type: System.GuidThe GUID of the job to put in the queue.
highPriority
Type: System.BooleanTrue to flag the job as high priority; false to flag the job as regular priority.
Return Value
Type: System.Int32
Returns 1 if the job was successfully put in the queue; otherwise, 0.
.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.