Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Queues a job that will be executed later.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Function QueueDelayedJob ( _
jobId As Guid, _
maxDelaySeconds As Integer _
) As Integer
public int QueueDelayedJob(
Guid jobId,
int maxDelaySeconds
)
public:
virtual int QueueDelayedJob(
Guid jobId,
int maxDelaySeconds
) sealed
abstract QueueDelayedJob :
jobId:Guid *
maxDelaySeconds:int -> int
override QueueDelayedJob :
jobId:Guid *
maxDelaySeconds:int -> int
public final function QueueDelayedJob(
jobId : Guid,
maxDelaySeconds : int
) : int
Parameters
jobId
Type: System.GuidThe Guid object that represents the job ID of the job to queue.
maxDelaySeconds
Type: System.Int32The maximum number of seconds to wait before executing the job.
Return Value
Type: System.Int32
The number of jobs that were queued.
Implements
ITeamFoundationJobService.QueueDelayedJob(Guid, Int32)
.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.