Delen via


TeamFoundationJobService Class

Represents a job service in Visual Studio Team Foundation Server.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Client.TeamFoundationJobService

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

Syntax

'Declaration
Public Class TeamFoundationJobService _
    Implements ITeamFoundationJobService
public class TeamFoundationJobService : ITeamFoundationJobService
public ref class TeamFoundationJobService : ITeamFoundationJobService
type TeamFoundationJobService =  
    class 
        interface ITeamFoundationJobService 
    end
public class TeamFoundationJobService implements ITeamFoundationJobService

The TeamFoundationJobService type exposes the following members.

Constructors

  Name Description
Public method TeamFoundationJobService Initializes a new instance of the TeamFoundationJobService class.

Top

Methods

  Name Description
Public method DeleteJob(Guid) Deletes the specified job.
Public method DeleteJob(TeamFoundationJobDefinition) Deletes the specified job.
Public method DeleteJobs(IEnumerable<Guid>) Deletes the specified jobs.
Public method DeleteJobs(IEnumerable<TeamFoundationJobDefinition>) Deletes the specified jobs.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method PauseJob(Guid) Pauses the specified job.
Public method PauseJob(TeamFoundationJobDefinition) Pauses the specified job.
Public method QueryJobHistory(IEnumerable<Guid>) Queries the job history of the specified jobs.
Public method QueryJobHistory(IEnumerable<TeamFoundationJobDefinition>) Queries the job history of the specified jobs.
Public method QueryJobs() Gets the TeamFoundationJobDefinition object of all jobs that are registered in this service.
Public method QueryJobs(IEnumerable<Guid>) Gets the TeamFoundationJobDefinition object of the jobs that have the specified ID.
Public method QueryLatestJobHistory(IEnumerable<Guid>) Queries the latest job history of the specified jobs.
Public method QueryLatestJobHistory(Guid) Queries the latest job history of the specified job.
Public method QueryLatestJobHistory(TeamFoundationJobDefinition) Queries the latest job history of the specified job.
Public method QueryLatestJobHistory(IEnumerable<TeamFoundationJobDefinition>) Queries the latest job history of the specified jobs.
Public method QueueDelayedJob(Guid) Queues a job that will be executed later.
Public method QueueDelayedJob(TeamFoundationJobDefinition) Queues the specified job to be executed later.
Public method QueueDelayedJob(Guid, Int32) Queues a job that will be executed later.
Public method QueueDelayedJob(TeamFoundationJobDefinition, Int32) Queues a job that will be executed later.
Public method QueueDelayedJobs(IEnumerable<Guid>) Queues the specified jobs to be executed later.
Public method QueueDelayedJobs(IEnumerable<TeamFoundationJobDefinition>) Queues the specified jobs to be executed later.
Public method QueueDelayedJobs(IEnumerable<Guid>, Int32) Queues the specified jobs to be executed later.
Public method QueueDelayedJobs(IEnumerable<TeamFoundationJobDefinition>, Int32) Queues the specified jobs to be executed later.
Public method QueueJobNow(Guid, Boolean) Queues the specified job to be executed now.
Public method QueueJobNow(TeamFoundationJobDefinition, Boolean) Queues the specified job to be executed now.
Public method QueueJobsNow(IEnumerable<Guid>, Boolean) Queues the specified jobs to be executed now.
Public method QueueJobsNow(IEnumerable<TeamFoundationJobDefinition>, Boolean) Queues the specified jobs to be executed now.
Public method QueueOneTimeJob Queues a one-time job to be executed.
Public method ResumeJob(Guid) Resumes the specified paused job.
Public method ResumeJob(TeamFoundationJobDefinition) Resumes the specified paused job.
Public method StopJob(Guid) Stops the specified job.
Public method StopJob(TeamFoundationJobDefinition) Stops the specified job.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UpdateJob Refreshes the reported status of the specified job.
Public method UpdateJobs(IEnumerable<TeamFoundationJobDefinition>) Refreshes the reported status of the specified jobs.
Public method UpdateJobs(IEnumerable<Guid>, IEnumerable<TeamFoundationJobDefinition>) Refreshes the reported status of the specified jobs and deletes the specified jobs.
Public method UpdateJobs(IEnumerable<TeamFoundationJobDefinition>, IEnumerable<TeamFoundationJobDefinition>) Refreshes the reported status of the specified jobs and deletes the specified jobs.

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.Client Namespace