共用方式為


TeamFoundationTracingService.TraceProvider.TraceJobAgentHistory 方法

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

語法

'宣告
Public Function TraceJobAgentHistory ( _
    plugin As String, _
    jobName As String, _
    jobSource As Guid, _
    jobId As Guid, _
    queueTime As DateTime, _
    startTime As DateTime, _
    executionTime As Long, _
    agentId As Guid, _
    result As Integer, _
    message As String, _
    queuedReasons As Integer, _
    queueFlags As Integer, _
    priority As Short _
) As Boolean
public bool TraceJobAgentHistory(
    string plugin,
    string jobName,
    Guid jobSource,
    Guid jobId,
    DateTime queueTime,
    DateTime startTime,
    long executionTime,
    Guid agentId,
    int result,
    string message,
    int queuedReasons,
    int queueFlags,
    short priority
)

參數

傳回值

型別:System.Boolean

.NET Framework 安全性

請參閱

參考

TeamFoundationTracingService.TraceProvider 類別

Microsoft.TeamFoundation.Framework.Server 命名空間