TeamFoundationJobReportingService Class

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

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Server.Core.TeamFoundationJobReportingService

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

Syntax

'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationRegistryService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationSqlNotificationService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationHostManagementService))> _
Public NotInheritable Class TeamFoundationJobReportingService _
    Implements ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))]
public sealed class TeamFoundationJobReportingService : ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))]
public ref class TeamFoundationJobReportingService sealed : ITeamFoundationService
[<Sealed>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationHostManagementService))>]
type TeamFoundationJobReportingService =  
    class 
        interface ITeamFoundationService 
    end
public final class TeamFoundationJobReportingService implements ITeamFoundationService

The TeamFoundationJobReportingService type exposes the following members.

Properties

  Name Description
Public property ImageScaleSize
Public property JobNameCache
Public property MaxNumberOfHistoryResults
Public property NumberOfJobsToShowInChart
Public property ReportingWindowHours

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetAgentInformation Get the agent information for the agent which ran this job.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetJobName Get 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 method GetResultTypeCount Query the job history for the number of result types over a given period of time. ResultTypeId ResultTypeName Count ------------ -------------- ----- 0 Success 322 5 Blocked 2 If the start time is not provided, then 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 method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method QueryHistory
Public method QueryJobCountsAndRunTime
Public method QueryQueueEntries
Public method QueryQueuePositionCounts
Public method QueryQueueTimes
Public method QueryResultsOverTime
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceEnd
Explicit interface implemetationPrivate method ITeamFoundationService.ServiceStart

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.

See Also

Reference

Microsoft.TeamFoundation.Server.Core Namespace