Share via


TeamFoundationTracingService.TraceProvider.TraceActivityLog, méthode

Espace de noms :  Microsoft.TeamFoundation.Framework.Server
Assembly :  Microsoft.TeamFoundation.Framework.Server (dans Microsoft.TeamFoundation.Framework.Server.dll)

Syntaxe

'Déclaration
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
)

Paramètres

Valeur de retour

Type : System.Boolean
retourne Boolean ;

Sécurité .NET Framework

Voir aussi

Référence

TeamFoundationTracingService.TraceProvider Classe

Microsoft.TeamFoundation.Framework.Server, espace de noms