TeamFoundationTracingService.TraceJobAgentHistory 方法
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Public Sub TraceJobAgentHistory ( _
requestContext As TeamFoundationRequestContext, _
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 _
)
public void TraceJobAgentHistory(
TeamFoundationRequestContext requestContext,
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
)
參數
- requestContext
型別:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- 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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。