TeamFoundationTracingService.TraceActivityLog 方法 (TeamFoundationRequestContext, Guid, Int64, String, String, Int32, Int32, DateTime, Int64, String, String, Guid, String, String, String, String, Guid)
命名空間: Microsoft.TeamFoundation.Framework.Server
組件: Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)
語法
'宣告
Public Sub TraceActivityLog ( _
requestContext As TeamFoundationRequestContext, _
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(
TeamFoundationRequestContext requestContext,
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
)
參數
- requestContext
型別:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- 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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。