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
- plugin
Type: System.String
- jobName
Type: System.String
- jobSource
Type: System.Guid
- jobId
Type: System.Guid
- queueTime
Type: System.DateTime
- startTime
Type: System.DateTime
- executionTime
Type: System.Int64
- agentId
Type: System.Guid
- result
Type: System.Int32
- message
Type: System.String
- queuedReasons
Type: System.Int32
- queueFlags
Type: System.Int32
- priority
Type: System.Int16
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.