TeamFoundationJobService Class

Represents a job service in Visual Studio Team Foundation Server.

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

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

public class TeamFoundationJobService : ITeamFoundationJobService

The TeamFoundationJobService type exposes the following members.

  NameDescription
Public methodTeamFoundationJobServiceInitializes a new instance of the TeamFoundationJobService class.
Top

  NameDescription
Public methodDeleteJob(Guid)Deletes the specified job.
Public methodDeleteJob(TeamFoundationJobDefinition)Deletes the specified job.
Public methodDeleteJobs(IEnumerable<Guid>)Deletes the specified jobs.
Public methodDeleteJobs(IEnumerable<TeamFoundationJobDefinition>)Deletes the specified jobs.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodPauseJob(Guid)Pauses the specified job.
Public methodPauseJob(TeamFoundationJobDefinition)Pauses the specified job.
Public methodQueryJobHistory(IEnumerable<Guid>)Queries the job history of the specified jobs.
Public methodQueryJobHistory(IEnumerable<TeamFoundationJobDefinition>)Queries the job history of the specified jobs.
Public methodQueryJobs()Gets the TeamFoundationJobDefinition object of all jobs that are registered in this service.
Public methodQueryJobs(IEnumerable<Guid>)Gets the TeamFoundationJobDefinition object of the jobs that have the specified ID.
Public methodQueryLatestJobHistory(IEnumerable<Guid>)Queries the latest job history of the specified jobs.
Public methodQueryLatestJobHistory(Guid)Queries the latest job history of the specified job.
Public methodQueryLatestJobHistory(TeamFoundationJobDefinition)Queries the latest job history of the specified job.
Public methodQueryLatestJobHistory(IEnumerable<TeamFoundationJobDefinition>)Queries the latest job history of the specified jobs.
Public methodQueueDelayedJob(Guid)Queues a job that will be executed later.
Public methodQueueDelayedJob(TeamFoundationJobDefinition)Queues the specified job to be executed later.
Public methodQueueDelayedJob(Guid, Int32)Queues a job that will be executed later.
Public methodQueueDelayedJob(TeamFoundationJobDefinition, Int32)Queues a job that will be executed later.
Public methodQueueDelayedJobs(IEnumerable<Guid>)Queues the specified jobs to be executed later.
Public methodQueueDelayedJobs(IEnumerable<TeamFoundationJobDefinition>)Queues the specified jobs to be executed later.
Public methodQueueDelayedJobs(IEnumerable<Guid>, Int32)Queues the specified jobs to be executed later.
Public methodQueueDelayedJobs(IEnumerable<TeamFoundationJobDefinition>, Int32)Queues the specified jobs to be executed later.
Public methodQueueJobNow(Guid, Boolean)Queues the specified job to be executed now.
Public methodQueueJobNow(TeamFoundationJobDefinition, Boolean)Queues the specified job to be executed now.
Public methodQueueJobsNow(IEnumerable<Guid>, Boolean)Queues the specified jobs to be executed now.
Public methodQueueJobsNow(IEnumerable<TeamFoundationJobDefinition>, Boolean)Queues the specified jobs to be executed now.
Public methodQueueOneTimeJobQueues a one-time job to be executed.
Public methodResumeJob(Guid)Resumes the specified paused job.
Public methodResumeJob(TeamFoundationJobDefinition)Resumes the specified paused job.
Public methodStopJob(Guid)Stops the specified job.
Public methodStopJob(TeamFoundationJobDefinition)Stops the specified job.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodUpdateJobRefreshes the reported status of the specified job.
Public methodUpdateJobs(IEnumerable<TeamFoundationJobDefinition>)Refreshes the reported status of the specified jobs.
Public methodUpdateJobs(IEnumerable<Guid>, IEnumerable<TeamFoundationJobDefinition>)Refreshes the reported status of the specified jobs and deletes the specified jobs.
Public methodUpdateJobs(IEnumerable<TeamFoundationJobDefinition>, IEnumerable<TeamFoundationJobDefinition>)Refreshes the reported status of the specified jobs and deletes the specified jobs.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft