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)
Syntax
'Declaration
Function QueueOneTimeJob ( _
jobName As String, _
extensionName As String, _
jobData As XmlNode, _
highPriority As Boolean _
) As Guid
Guid QueueOneTimeJob(
string jobName,
string extensionName,
XmlNode jobData,
bool highPriority
)
Guid QueueOneTimeJob(
String^ jobName,
String^ extensionName,
XmlNode^ jobData,
bool highPriority
)
abstract QueueOneTimeJob :
jobName:string *
extensionName:string *
jobData:XmlNode *
highPriority:bool -> Guid
function QueueOneTimeJob(
jobName : String,
extensionName : String,
jobData : XmlNode,
highPriority : boolean
) : Guid
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.
.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.