TeamFoundationJobReference Class
A reference to a job used for queuing.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Framework.Server.TeamFoundationJobReference
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public NotInheritable Class TeamFoundationJobReference
public sealed class TeamFoundationJobReference
public ref class TeamFoundationJobReference sealed
[<Sealed>]
type TeamFoundationJobReference = class end
public final class TeamFoundationJobReference
The TeamFoundationJobReference type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TeamFoundationJobReference() | ||
TeamFoundationJobReference(Guid) | ||
TeamFoundationJobReference(Guid, JobPriorityClass) |
Top
Properties
Name | Description | |
---|---|---|
JobId | ||
PriorityClass |
Top
Methods
Name | Description | |
---|---|---|
ConvertJobIdsToJobReferences | ||
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.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
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).
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.