다음을 통해 공유


TeamFoundationTracingService.TraceProvider.TraceActivityLog Method

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
)
public:
bool TraceActivityLog(
    Guid hostId, 
    long long contextId, 
    String^ application, 
    String^ command, 
    int status, 
    int executionCount, 
    DateTime startTime, 
    long long executionTime, 
    String^ identityName, 
    String^ ipAddress, 
    Guid uniqueIdentifier, 
    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 * 
        uniqueIdentifier:Guid * 
        userAgent:string * 
        commandIdentifier:string * 
        exceptionType:string * 
        exceptionMessage:string * 
        activityId:Guid -> bool
public function TraceActivityLog(
    hostId : Guid, 
    contextId : long, 
    application : String, 
    command : String, 
    status : int, 
    executionCount : int, 
    startTime : DateTime, 
    executionTime : long, 
    identityName : String, 
    ipAddress : String, 
    uniqueIdentifier : Guid, 
    userAgent : String, 
    commandIdentifier : String, 
    exceptionType : String, 
    exceptionMessage : String, 
    activityId : Guid
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

TeamFoundationTracingService.TraceProvider Class

Microsoft.TeamFoundation.Framework.Server Namespace