Partager via


TeamFoundationJobService.QueueOneTimeJob Method

Queues a one-time job to be executed.

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

Syntax

'Declaration
Public Function QueueOneTimeJob ( _
    jobName As String, _
    extensionName As String, _
    data As XmlNode, _
    highPriority As Boolean _
) As Guid
public Guid QueueOneTimeJob(
    string jobName,
    string extensionName,
    XmlNode data,
    bool highPriority
)
public:
virtual Guid QueueOneTimeJob(
    String^ jobName, 
    String^ extensionName, 
    XmlNode^ data, 
    bool highPriority
) sealed
abstract QueueOneTimeJob : 
        jobName:string * 
        extensionName:string * 
        data:XmlNode * 
        highPriority:bool -> Guid  
override QueueOneTimeJob : 
        jobName:string * 
        extensionName:string * 
        data:XmlNode * 
        highPriority:bool -> Guid
public final function QueueOneTimeJob(
    jobName : String, 
    extensionName : String, 
    data : XmlNode, 
    highPriority : boolean
) : Guid

Parameters

  • extensionName
    Type: System.String

    The extension name of the job.

  • highPriority
    Type: System.Boolean

    True if this job is high priority; otherwise, false.

Return Value

Type: System.Guid
The Guid of the queued job.

Implements

ITeamFoundationJobService.QueueOneTimeJob(String, String, XmlNode, Boolean)

.NET Framework Security

See Also

Reference

TeamFoundationJobService Class

Microsoft.TeamFoundation.Framework.Client Namespace