TeamFoundationTaskService Class
A service for queuing tasks to run one time or with a schedule using a pool of worker threads. When a task is executed, the provided task callback method is invoked.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Framework.Server.TeamFoundationTaskService
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public NotInheritable Class TeamFoundationTaskService _
Implements ITeamFoundationService, ITeamFoundationTaskService
public sealed class TeamFoundationTaskService : ITeamFoundationService,
ITeamFoundationTaskService
public ref class TeamFoundationTaskService sealed : ITeamFoundationService,
ITeamFoundationTaskService
[<Sealed>]
type TeamFoundationTaskService =
class
interface ITeamFoundationService
interface ITeamFoundationTaskService
end
public final class TeamFoundationTaskService implements ITeamFoundationService, ITeamFoundationTaskService
The TeamFoundationTaskService type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TeamFoundationTaskService |
Top
Methods
Name | Description | |
---|---|---|
AddTask(Guid, TeamFoundationTask) | Adds a task for the given host. | |
AddTask(String, TeamFoundationTask<String>) | ||
AddTask(TeamFoundationRequestContext, TeamFoundationTask) | Adds the task to the service. | |
AddTask(TeamFoundationRequestContext, TeamFoundationTaskCallback) | Adds a task for the specified callback to the service. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
RemoveAllTasks | ||
RemoveTask(Guid, TeamFoundationTask) | Remove a task on the given host. | |
RemoveTask(String, TeamFoundationTask<String>) | ||
RemoveTask(TeamFoundationRequestContext, TeamFoundationTask) | Remove the task from the service. | |
RemoveTask(TeamFoundationRequestContext, TeamFoundationTaskCallback) | Remove the task for the associated callback. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ITeamFoundationService.ServiceEnd | End the task service. | |
ITeamFoundationService.ServiceStart | Start up the task service. |
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.