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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。