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
'宣告
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.String
The name of the job.
- extensionName
Type: System.String
The extension name of the job.
- data
Type: System.Xml.XmlNode
XML data for 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
- 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.