TeamFoundationTracingService.TraceProvider.TraceActivityLog 方法
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Public Function 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, _
uniqueIdentifier As Guid, _
userAgent As String, _
commandIdentifier As String, _
exceptionType As String, _
exceptionMessage As String, _
activityId As Guid _
) As Boolean
public bool TraceActivityLog(
Guid hostId,
long contextId,
string application,
string command,
int status,
int executionCount,
DateTime startTime,
long executionTime,
string identityName,
string ipAddress,
Guid uniqueIdentifier,
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
- uniqueIdentifier
型別:System.Guid
- userAgent
型別:System.String
- commandIdentifier
型別:System.String
- exceptionType
型別:System.String
- exceptionMessage
型別:System.String
- activityId
型別:System.Guid
傳回值
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。