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
)
參數
- plugin
型別:System.String
- jobName
型別:System.String
- jobSource
型別:System.Guid
- jobId
型別:System.Guid
- queueTime
型別:System.DateTime
- startTime
型別:System.DateTime
- executionTime
型別:System.Int64
- agentId
型別:System.Guid
- result
型別:System.Int32
- message
型別:System.String
- queuedReasons
型別:System.Int32
- queueFlags
型別:System.Int32
- priority
型別:System.Int16
傳回值
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。