TeamFoundationTracingService.TraceActivityLog 方法
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Public Sub TraceActivityLog ( _
hostId As Guid, _
contextId As Long, _
application As String, _
command As String, _
status As Integer, _
executionCount As Integer, _
startTime As DateTime, _
executionTime As Long, _
identityName As String, _
ipAddress As String, _
uniqueIdentifer As Guid, _
userAgent As String, _
commandIdentifier As String, _
exceptionType As String, _
exceptionMessage As String, _
activityId As Guid _
)
public void TraceActivityLog(
Guid hostId,
long contextId,
string application,
string command,
int status,
int executionCount,
DateTime startTime,
long executionTime,
string identityName,
string ipAddress,
Guid uniqueIdentifer,
string userAgent,
string commandIdentifier,
string exceptionType,
string exceptionMessage,
Guid activityId
)
參數
- hostId
類型:System.Guid
- contextId
類型:System.Int64
- application
類型:System.String
- command
類型:System.String
- status
類型:System.Int32
- executionCount
類型:System.Int32
- startTime
類型:System.DateTime
- executionTime
類型:System.Int64
- identityName
類型:System.String
- ipAddress
類型:System.String
- uniqueIdentifer
類型:System.Guid
- userAgent
類型:System.String
- commandIdentifier
類型:System.String
- exceptionType
類型:System.String
- exceptionMessage
類型:System.String
- activityId
類型:System.Guid
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。