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