TeamFoundationTracingService.TraceProvider.TraceActivityLog-Methode
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
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
)
Parameter
- hostId
Typ: System.Guid
- contextId
Typ: System.Int64
- application
Typ: System.String
- command
Typ: System.String
- status
Typ: System.Int32
- executionCount
Typ: System.Int32
- startTime
Typ: System.DateTime
- executionTime
Typ: System.Int64
- identityName
Typ: System.String
- ipAddress
Typ: System.String
- uniqueIdentifier
Typ: System.Guid
- userAgent
Typ: System.String
- commandIdentifier
Typ: System.String
- exceptionType
Typ: System.String
- exceptionMessage
Typ: System.String
- activityId
Typ: System.Guid
Rückgabewert
Typ: System.Boolean
Gibt Boolean zurück.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.