This documentation is archived and is not being maintained.

ITeamFoundationJobService.QueueOneTimeJob Method

Puts a one-time job in the queue and starts it immediately.

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

Guid QueueOneTimeJob(
	string jobName,
	string extensionName,
	XmlNode jobData,
	bool highPriority
)

Parameters

jobName
Type: System.String

The name of the job to queue.

extensionName
Type: System.String

The name of the job extension.

jobData
Type: System.Xml.XmlNode

XML data for the job, if any.

highPriority
Type: System.Boolean

True to flag the job as high priority; false to flag the job as regular priority.

Return Value

Type: System.Guid
The ID of the one-time job.

Show: