共用方式為


TeamFoundationTracingService.TraceProvider.TraceActivityLog 方法

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
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
)

參數

傳回值

型別:System.Boolean

.NET Framework 安全性

請參閱

參考

TeamFoundationTracingService.TraceProvider 類別

Microsoft.TeamFoundation.Framework.Server 命名空間