TeamFoundationJobService.QueueDelayedJob Method (TeamFoundationJobDefinition)
Queues the specified job to be executed later.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Function QueueDelayedJob ( _
job As TeamFoundationJobDefinition _
) As Integer
public int QueueDelayedJob(
TeamFoundationJobDefinition job
)
public:
virtual int QueueDelayedJob(
TeamFoundationJobDefinition^ job
) sealed
abstract QueueDelayedJob :
job:TeamFoundationJobDefinition -> int
override QueueDelayedJob :
job:TeamFoundationJobDefinition -> int
public final function QueueDelayedJob(
job : TeamFoundationJobDefinition
) : int
Parameters
job
Type: Microsoft.TeamFoundation.Framework.Client.TeamFoundationJobDefinitionThe TeamFoundationJobDefinition of the job to queue.
Return Value
Type: System.Int32
The number of jobs that were queued.
Implements
ITeamFoundationJobService.QueueDelayedJob(TeamFoundationJobDefinition)
.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.