Partager via


TeamFoundationTracingService.TraceActivityLog Method

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Sub 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, _
    uniqueIdentifer As Guid, _
    userAgent As String, _
    commandIdentifier As String, _
    exceptionType As String, _
    exceptionMessage As String, _
    activityId As Guid _
)
public void TraceActivityLog(
    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
)
public:
void TraceActivityLog(
    Guid hostId, 
    long long contextId, 
    String^ application, 
    String^ command, 
    int status, 
    int executionCount, 
    DateTime startTime, 
    long long executionTime, 
    String^ identityName, 
    String^ ipAddress, 
    Guid uniqueIdentifer, 
    String^ userAgent, 
    String^ commandIdentifier, 
    String^ exceptionType, 
    String^ exceptionMessage, 
    Guid activityId
)
member TraceActivityLog : 
        hostId:Guid * 
        contextId:int64 * 
        application:string * 
        command:string * 
        status:int * 
        executionCount:int * 
        startTime:DateTime * 
        executionTime:int64 * 
        identityName:string * 
        ipAddress:string * 
        uniqueIdentifer:Guid * 
        userAgent:string * 
        commandIdentifier:string * 
        exceptionType:string * 
        exceptionMessage:string * 
        activityId:Guid -> unit
public function TraceActivityLog(
    hostId : Guid, 
    contextId : long, 
    application : String, 
    command : String, 
    status : int, 
    executionCount : int, 
    startTime : DateTime, 
    executionTime : long, 
    identityName : String, 
    ipAddress : String, 
    uniqueIdentifer : Guid, 
    userAgent : String, 
    commandIdentifier : String, 
    exceptionType : String, 
    exceptionMessage : String, 
    activityId : Guid
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationTracingService Class

Microsoft.TeamFoundation.Framework.Server Namespace