ITeamFoundationJobService.QueueDelayedJob Method (TeamFoundationJobDefinition, Int32)
Schedules a job to be executed in the near future.
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
- Type: Microsoft.TeamFoundation.Framework.Client.TeamFoundationJobDefinition
The job definition to schedule for execution.
- Type: System.Int32
The number of seconds to delay the start of the job.
Return ValueType: System.Int32
Returns 1 if the job was successfully queued; otherwise, returns 0.
- 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.