This documentation is archived and is not being maintained.

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.

System::Object
  Microsoft.TeamFoundation.Framework.Server::TeamFoundationTaskService

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

public ref class TeamFoundationTaskService sealed : ITeamFoundationService, 
	ITeamFoundationTaskService

The TeamFoundationTaskService type exposes the following members.

  NameDescription
Public methodAddTask(Guid, TeamFoundationTask)Adds a task for the given host.
Public methodAddTask(String, TeamFoundationTask<String>)
Public methodAddTask(TeamFoundationRequestContext, TeamFoundationTask)Adds the task to the service.
Public methodAddTask(TeamFoundationRequestContext, TeamFoundationTaskCallback)Adds a task for the specified callback to the service.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodRemoveAllTasks
Public methodRemoveTask(Guid, TeamFoundationTask)Remove a task on the given host.
Public methodRemoveTask(String, TeamFoundationTask<String>)
Public methodRemoveTask(TeamFoundationRequestContext, TeamFoundationTask)Remove the task from the service.
Public methodRemoveTask(TeamFoundationRequestContext, TeamFoundationTaskCallback)Remove the task for the associated callback.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
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.
Show: