TeamFoundationTracingService.TraceProvider.TraceActivityLog Yöntem
Ad alanı: Microsoft.TeamFoundation.Framework.Server
Derleme: Microsoft.TeamFoundation.Framework.Server (Microsoft.TeamFoundation.Framework.Server.dll içinde)
Sözdizimi
'Bildirim
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
)
Parametreler
- hostId
Tür: System.Guid
- contextId
Tür: System.Int64
- application
Tür: System.String
- command
Tür: System.String
- status
Tür: System.Int32
- executionCount
Tür: System.Int32
- startTime
Tür: System.DateTime
- executionTime
Tür: System.Int64
- identityName
Tür: System.String
- ipAddress
Tür: System.String
- uniqueIdentifier
Tür: System.Guid
- userAgent
Tür: System.String
- commandIdentifier
Tür: System.String
- exceptionType
Tür: System.String
- exceptionMessage
Tür: System.String
- activityId
Tür: System.Guid
Dönüş Değeri
Tür: System.Boolean
Boolean döndürür.
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. Kısmen Güvenilen Koddan Kitaplıkları Kullanma.