Delen via


TeamFoundationTracingService.TraceProvider.TraceJobAgentHistory Method

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

Syntax

'Declaration
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
)
public:
bool TraceJobAgentHistory(
    String^ plugin, 
    String^ jobName, 
    Guid jobSource, 
    Guid jobId, 
    DateTime queueTime, 
    DateTime startTime, 
    long long executionTime, 
    Guid agentId, 
    int result, 
    String^ message, 
    int queuedReasons, 
    int queueFlags, 
    short priority
)
member TraceJobAgentHistory : 
        plugin:string * 
        jobName:string * 
        jobSource:Guid * 
        jobId:Guid * 
        queueTime:DateTime * 
        startTime:DateTime * 
        executionTime:int64 * 
        agentId:Guid * 
        result:int * 
        message:string * 
        queuedReasons:int * 
        queueFlags:int * 
        priority:int16 -> bool
public function TraceJobAgentHistory(
    plugin : String, 
    jobName : String, 
    jobSource : Guid, 
    jobId : Guid, 
    queueTime : DateTime, 
    startTime : DateTime, 
    executionTime : long, 
    agentId : Guid, 
    result : int, 
    message : String, 
    queuedReasons : int, 
    queueFlags : int, 
    priority : short
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

TeamFoundationTracingService.TraceProvider Class

Microsoft.TeamFoundation.Framework.Server Namespace