TeamFoundationJobReportingService 類別

工作報告特定功能的服務。 註冊和通知服務已包含在內,因為報告資料會儲存在登錄中,我們需要這些變更的通知。

繼承階層架構

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

命名空間:  Microsoft.TeamFoundation.Server.Core
組件:  Microsoft.TeamFoundation.Server.Core (在 Microsoft.TeamFoundation.Server.Core.dll 中)

語法

'宣告
<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

TeamFoundationJobReportingService 類型會公開下列成員。

屬性

  名稱 描述
公用屬性 ImageScaleSize
公用屬性 JobNameCache
公用屬性 MaxNumberOfHistoryResults
公用屬性 NumberOfJobsToShowInChart
公用屬性 ReportingWindowHours

回頁首

方法

  名稱 描述
公用方法 Equals 判斷指定的物件是否等於目前物件。 (繼承自 Object)。
公用方法 GetAgentInformation 取得執行這個工作之代理程式的代理程式資訊。
公用方法 GetHashCode 做為預設雜湊函式。 (繼承自 Object)。
公用方法 GetJobName 取得工作名稱將工作 ID.對於這個已知工作 GUID 運作;如果這個工作不是已知的,它會傳回 GUID。
公用方法 GetResultTypeCount 查詢結果型別數目的工作記錄在特定時間。ResultTypeId ResultTypeName 計數。-------------------------------0 成功 322 5 封鎖了 2,如果未提供開始時間,然後我們是否將結束時間,假設) 或現在減 48 小時 (除非覆寫登錄)。如果沒有提供結束時間,我們現在我們。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
公用方法 QueryHistory
公用方法 QueryJobCountsAndRunTime
公用方法 QueryQueueEntries
公用方法 QueryQueuePositionCounts
公用方法 QueryQueueTimes
公用方法 QueryResultsOverTime
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。

回頁首

明確介面實作

  名稱 描述
明確介面實作私用方法 ITeamFoundationService.ServiceEnd
明確介面實作私用方法 ITeamFoundationService.ServiceStart

回頁首

執行緒安全

這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.TeamFoundation.Server.Core 命名空間