TeamFoundationJobService.QueueOneTimeJob Method (TeamFoundationRequestContext, String, String, XmlNode, TimeSpan)
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function QueueOneTimeJob ( _
requestContext As TeamFoundationRequestContext, _
jobName As String, _
extensionName As String, _
jobData As XmlNode, _
startOffset As TimeSpan _
) As Guid
public Guid QueueOneTimeJob(
TeamFoundationRequestContext requestContext,
string jobName,
string extensionName,
XmlNode jobData,
TimeSpan startOffset
)
public:
Guid QueueOneTimeJob(
TeamFoundationRequestContext^ requestContext,
String^ jobName,
String^ extensionName,
XmlNode^ jobData,
TimeSpan startOffset
)
member QueueOneTimeJob :
requestContext:TeamFoundationRequestContext *
jobName:string *
extensionName:string *
jobData:XmlNode *
startOffset:TimeSpan -> Guid
public function QueueOneTimeJob(
requestContext : TeamFoundationRequestContext,
jobName : String,
extensionName : String,
jobData : XmlNode,
startOffset : TimeSpan
) : Guid
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- jobName
Type: System.String
- extensionName
Type: System.String
- jobData
Type: System.Xml.XmlNode
- startOffset
Type: System.TimeSpan
Return Value
Type: System.Guid
.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.