This documentation is archived and is not being maintained.

TeamFoundationJobReference Class

A reference to a job used for queuing.

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

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

public ref class TeamFoundationJobReference sealed

The TeamFoundationJobReference type exposes the following members.

  NameDescription
Public methodStatic memberConvertJobIdsToJobReferences
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 methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Specifying JobPriorityClass can be used to prevent a database call to determine the JobPriorityClass from the persisted JobDefinition. This allows for greater performance for jobs frequently queued. If you don't need this performance optimization, you may want to call into the overloads that take simply a JobId (Guid).

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: