共用方式為


TeamFoundationJobService.QueueJobNow Method (Guid, Boolean)

Queues the specified job to be executed now.

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

Syntax

'宣告
Public Function QueueJobNow ( _
    jobId As Guid, _
    highPriority As Boolean _
) As Integer
public int QueueJobNow(
    Guid jobId,
    bool highPriority
)
public:
virtual int QueueJobNow(
    Guid jobId, 
    bool highPriority
) sealed
abstract QueueJobNow : 
        jobId:Guid * 
        highPriority:bool -> int 
override QueueJobNow : 
        jobId:Guid * 
        highPriority:bool -> int 
public final function QueueJobNow(
    jobId : Guid, 
    highPriority : boolean
) : int

Parameters

  • jobId
    Type: System.Guid
    The Guid object that represents the job ID of the job to queue.
  • highPriority
    Type: System.Boolean
    True if the job is high priority; otherwise, false.

Return Value

Type: System.Int32
The number of jobs that were queued.

Implements

ITeamFoundationJobService.QueueJobNow(Guid, Boolean)

.NET Framework Security

See Also

Reference

TeamFoundationJobService Class

QueueJobNow Overload

Microsoft.TeamFoundation.Framework.Client Namespace