Metoda TeamFoundationTracingService.TraceActivityLog — (TeamFoundationRequestContext, Guid, Int64, String, String, Int32, Int32, DateTime, Int64, String, String, Guid, String, String, String, String, Guid)
Przestrzeń nazw: Microsoft.TeamFoundation.Framework.Server
Zestaw: Microsoft.TeamFoundation.Framework.Server (w Microsoft.TeamFoundation.Framework.Server.dll)
Składnia
'Deklaracja
Public Sub TraceActivityLog ( _
requestContext As TeamFoundationRequestContext, _
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(
TeamFoundationRequestContext requestContext,
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
)
Parametry
- requestContext
Typ: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- hostId
Typ: System.Guid
- contextId
Typ: System.Int64
- application
Typ: System.String
- command
Typ: System.String
- status
Typ: System.Int32
- executionCount
Typ: System.Int32
- startTime
Typ: System.DateTime
- executionTime
Typ: System.Int64
- identityName
Typ: System.String
- ipAddress
Typ: System.String
- uniqueIdentifer
Typ: System.Guid
- userAgent
Typ: System.String
- commandIdentifier
Typ: System.String
- exceptionType
Typ: System.String
- exceptionMessage
Typ: System.String
- activityId
Typ: System.Guid
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..