TFSProvider.EventWriteEvent_JobAgentHistory_Info 方法
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Public Function EventWriteEvent_JobAgentHistory_Info ( _
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, _
ResultMessage As String, _
QueuedReasons As Integer, _
QueueFlags As Integer, _
Priority As Short _
) As Boolean
public bool EventWriteEvent_JobAgentHistory_Info(
string Plugin,
string JobName,
Guid JobSource,
Guid JobId,
DateTime QueueTime,
DateTime StartTime,
long ExecutionTime,
Guid AgentId,
int Result,
string ResultMessage,
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
- ResultMessage
類型:System.String
- QueuedReasons
類型:System.Int32
- QueueFlags
類型:System.Int32
- Priority
類型:System.Int16
傳回值
類型:System.Boolean
傳回 Boolean。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。