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
jobName
Type: System.StringThe name of the job.
extensionName
Type: System.StringThe extension name of the job.
data
Type: System.Xml.XmlNodeXML data for the job.
highPriority
Type: System.BooleanTrue 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
- 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.