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
- hostId
 Type: System.Guid
- contextId
 Type: System.Int64
- application
 Type: System.String
- command
 Type: System.String
- status
 Type: System.Int32
- executionCount
 Type: System.Int32
- startTime
 Type: System.DateTime
- executionTime
 Type: System.Int64
- identityName
 Type: System.String
- ipAddress
 Type: System.String
- uniqueIdentifer
 Type: System.Guid
- userAgent
 Type: System.String
- commandIdentifier
 Type: System.String
- exceptionType
 Type: System.String
- exceptionMessage
 Type: System.String
- activityId
 Type: System.Guid
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.