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
返回值
类型:System.Boolean
返回 Boolean。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。