Condividi tramite


TeamFoundationJobService Class

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.TeamFoundationJobService

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

Syntax

'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationRegistryService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationSqlNotificationService))> _
Public NotInheritable Class TeamFoundationJobService _
    Implements ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
public sealed class TeamFoundationJobService : ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
public ref class TeamFoundationJobService sealed : ITeamFoundationService
[<Sealed>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))>]
type TeamFoundationJobService =  
    class 
        interface ITeamFoundationService 
    end
public final class TeamFoundationJobService implements ITeamFoundationService

The TeamFoundationJobService type exposes the following members.

Properties

  Name Description
Public property IsIgnoreDormancyPermitted Indicates if the server is configured to allow the IgnoreDormancy flag on JobDefinitions.
Public property StopJobTimeLimit

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method PauseJob
Public method QueryJobDefinition Retrieve a single job definition for the specified jobId
Public method QueryJobDefinitions Queries job definitions.
Public method QueryJobHistory Queries for history on the specified jobs for the requested sources.
Public method QueryJobQueue(TeamFoundationRequestContext, IEnumerable<Guid>)
Public method QueryJobQueue(TeamFoundationRequestContext, List<TeamFoundationJobQueueEntry>%, List<TeamFoundationJobQueueEntry>%, List<TeamFoundationJobQueueEntry>%) Retrieves jobs in progress, queued and scheduled.
Public method QueryLatestJobHistory Queries for the latest history on the specified jobs for the requested sources.
Public method QueueDelayedJobs(TeamFoundationRequestContext, IEnumerable<Guid>) Attempts to schedule the specified jobs to run in the specified time, if the job is not already scheduled to run sooner.
Public method QueueDelayedJobs(TeamFoundationRequestContext, IEnumerable<TeamFoundationJobReference>, JobPriorityLevel) Attempts to schedule the specified jobs to run in the specified time, if the job is not already scheduled to run sooner.
Public method QueueDelayedJobs(TeamFoundationRequestContext, IEnumerable<TeamFoundationJobReference>, Int32, JobPriorityLevel) Attempts to schedule the specified jobs to run in the specified time, if the job is not already scheduled to run sooner.
Public method QueueDelayedJobs(TeamFoundationRequestContext, IEnumerable<Guid>, Int32, JobPriorityLevel) Attempts to schedule the specified jobs to run in the specified time, if the job is not already scheduled to run sooner.
Public method QueueJobsNow(TeamFoundationRequestContext, IEnumerable<TeamFoundationJobReference>, JobPriorityLevel)
Public method QueueJobsNow(TeamFoundationRequestContext, IEnumerable<Guid>, JobPriorityLevel) Attempts to schedule the specified jobs to run immediately using the specified priority.
Public method QueueJobsNow(TeamFoundationRequestContext, IEnumerable<Guid>, Boolean) Attempts to schedule the specified jobs to run immediately using the specified priority.
Public method QueueOneTimeJob(TeamFoundationRequestContext, String, String, XmlNode, JobPriorityLevel)
Public method QueueOneTimeJob(TeamFoundationRequestContext, String, String, XmlNode, Boolean)
Public method QueueOneTimeJob(TeamFoundationRequestContext, String, String, XmlNode, TimeSpan)
Public method RepairQueue
Public method ResumeJob
Public method StopJob
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UpdateJobDefinitions Updates the job definitions and performs the necessary updates on the queue.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceEnd
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceStart

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace