TeamFoundationJobService.QueueJobNow Method (TeamFoundationJobDefinition, Boolean)
Queues the specified job to be executed now.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaración
Public Function QueueJobNow ( _
job As TeamFoundationJobDefinition, _
highPriority As Boolean _
) As Integer
public int QueueJobNow(
TeamFoundationJobDefinition job,
bool highPriority
)
public:
virtual int QueueJobNow(
TeamFoundationJobDefinition^ job,
bool highPriority
) sealed
abstract QueueJobNow :
job:TeamFoundationJobDefinition *
highPriority:bool -> int
override QueueJobNow :
job:TeamFoundationJobDefinition *
highPriority:bool -> int
public final function QueueJobNow(
job : TeamFoundationJobDefinition,
highPriority : boolean
) : int
Parameters
- job
Type: Microsoft.TeamFoundation.Framework.Client.TeamFoundationJobDefinition
The TeamFoundationJobDefinition of the job to queue.
- highPriority
Type: System.Boolean
True if this job is high priority; otherwise, false.
Return Value
Type: System.Int32
The number of jobs that were queued.
Implements
ITeamFoundationJobService.QueueJobNow(TeamFoundationJobDefinition, Boolean)
.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.