Compartilhar via


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

'Declaração
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

  • extensionName
    Type: System.String
    The name of the job extension.
  • 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

See Also

Reference

ITeamFoundationJobService Interface

Microsoft.TeamFoundation.Framework.Client Namespace