TeamFoundationJobReportingService Class

Service for job reporting specific functionality. The registry and notification services are included because reporting data is stored in the registry and we need notification of those changes.


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

public sealed class TeamFoundationJobReportingService : ITeamFoundationService

The TeamFoundationJobReportingService type exposes the following members.

Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetAgentInformationGet the agent information for the agent which ran this job.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetJobNameGet the job name given the job id. This will work for the well-known job guids; if the job is not well-known, it will return the guid.
Public methodGetResultTypeCountQuery the job history for the number of result types over a given time.ResultTypeId ResultTypeName Count ------------ -------------- ----- 0 Success 322 5 Blocked 2 If the start time is not provided we will use the end time if provided) or now minus 48 hours (unless overridden in the registry). If the end time is not provided, we will us now.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodQueryHistory
Public methodQueryJobCountsAndRunTime
Public methodQueryQueueEntries
Public methodQueryQueuePositionCounts
Public methodQueryQueueTimes
Public methodQueryResultsOverTime
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.