Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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 ( _
job As TeamFoundationJobDefinition, _
maxDelaySeconds As Integer _
) As Integer
public int QueueDelayedJob(
TeamFoundationJobDefinition job,
int maxDelaySeconds
)
public:
virtual int QueueDelayedJob(
TeamFoundationJobDefinition^ job,
int maxDelaySeconds
) sealed
abstract QueueDelayedJob :
job:TeamFoundationJobDefinition *
maxDelaySeconds:int -> int
override QueueDelayedJob :
job:TeamFoundationJobDefinition *
maxDelaySeconds:int -> int
public final function QueueDelayedJob(
job : TeamFoundationJobDefinition,
maxDelaySeconds : int
) : int
Parameters
- job
Type: Microsoft.TeamFoundation.Framework.Client.TeamFoundationJobDefinition
The TeamFoundationJobDefinition of the job to queue.
- maxDelaySeconds
Type: System.Int32
The 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(TeamFoundationJobDefinition, 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.